Class: MijDiscord::Events::UpdateVoiceState
Instance Attribute Summary collapse
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Attributes inherited from Member
Attributes inherited from Server
Attributes inherited from Generic
Instance Method Summary collapse
-
#initialize(bot, user, state) ⇒ UpdateVoiceState
constructor
A new instance of UpdateVoiceState.
Methods inherited from EventBase
delegate_method, filter_match, inherited, #inspect, #trigger?
Constructor Details
#initialize(bot, user, state) ⇒ UpdateVoiceState
Returns a new instance of UpdateVoiceState.
60 61 62 63 64 |
# File 'lib/mij-discord/events/member.rb', line 60 def initialize(bot, user, state) super(bot, user) @state = state end |
Instance Attribute Details
#state ⇒ Object (readonly)
Returns the value of attribute state.
56 57 58 |
# File 'lib/mij-discord/events/member.rb', line 56 def state @state end |