class Discordrb::Events::ServerRoleDeleteEventHandler
Public Instance Methods
matches?(event)
click to toggle source
# File lib/discordrb/events/roles.rb, line 71 def matches?(event) # Check for the proper event type return false unless event.is_a? ServerRoleDeleteEvent [ matches_all(@attributes[:id], event.id) do |a, e| a.resolve_id == e.resolve_id end ].reduce(true, &:&) end