Class: Discordrb::Events::ThreadMembersUpdateEventHandler

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

Overview

Event handler for ThreadMembersUpdateEvent

Instance Method Summary collapse

Methods inherited from EventHandler

#after_call, #call, #match, #matches_all

Instance Method Details

#matches?(event) ⇒ Boolean

Returns:

  • (Boolean)


93
94
95
96
97
98
# File 'lib/discordrb/events/threads.rb', line 93

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

  super
end