Class: Discordrb::Events::ThreadUpdateEventHandler

Inherits:
ThreadCreateEventHandler show all
Defined in:
lib/discordrb/events/threads.rb

Overview

Event handler for ThreadUpdateEvent

Instance Method Summary collapse

Methods inherited from EventHandler

#after_call, #call, #match, #matches_all

Instance Method Details

#matches?(event) ⇒ Boolean

Returns:

  • (Boolean)


54
55
56
57
58
59
# File 'lib/discordrb/events/threads.rb', line 54

def matches?(event)
  # Check for the proper event type
  return false unless event.is_a? ThreadUpdateEvent

  super
end