class Discordrb::Events::VoiceServerUpdateEventHandler
Event
handler for VoiceServerUpdateEvent
Public Instance Methods
matches?(event)
click to toggle source
# File lib/discordrb/events/voice_server_update.rb, line 33 def matches?(event) return false unless event.is_a? VoiceServerUpdateEvent [ matches_all(@attributes[:from], event.server) do |a, e| a == if a.is_a? String e.name else e end end ] end