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, #initialize, #match, #matches_all

Constructor Details

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

Instance Method Details

#matches?(event) ⇒ Boolean

Returns:

  • (Boolean)


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

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

  super
end