Class: Rubycord::Events::ThreadMembersUpdateEventHandler

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

Overview

Event handler for ThreadMembersUpdateEvent

Instance Method Summary collapse

Methods inherited from EventHandler

#after_call, #call, #initialize, #match, #matches_all

Constructor Details

This class inherits a constructor from Rubycord::Events::EventHandler

Instance Method Details

#matches?(event) ⇒ Boolean

Returns:

  • (Boolean)


87
88
89
90
91
92
# File 'lib/rubycord/events/threads.rb', line 87

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

  super
end