Class: OnyxCord::Events::ThreadUpdateEventHandler

Inherits:
ThreadCreateEventHandler show all
Defined in:
lib/onyxcord/events/thread/update.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)


11
12
13
14
15
16
# File 'lib/onyxcord/events/thread/update.rb', line 11

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

  super
end