class Discordrb::Events::ReactionRemoveAllEventHandler

Event handler for {ReactionRemoveAllEvent}

Public Instance Methods

matches?(event) click to toggle source
# File lib/discordrb/events/reactions.rb, line 105
def matches?(event)
  # Check for the proper event type
  return false unless event.is_a? ReactionRemoveAllEvent

  # No attributes yet as there is no property available on the event that doesn't involve doing a resolution request
  [].reduce(true, &:&)
end