Class: MijDiscord::Events::Channel
- Defined in:
- lib/mij-discord/events/channel.rb
Direct Known Subclasses
CreateChannel, DeleteChannel, Recipient, UpdateChannel, UpdatePins, UpdateWebhooks
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
Attributes inherited from Generic
Instance Method Summary collapse
-
#initialize(bot, channel) ⇒ Channel
constructor
A new instance of Channel.
Methods inherited from EventBase
delegate_method, filter_match, inherited, #inspect, #trigger?
Constructor Details
#initialize(bot, channel) ⇒ Channel
Returns a new instance of Channel.
20 21 22 23 24 |
# File 'lib/mij-discord/events/channel.rb', line 20 def initialize(bot, channel) super(bot) @channel = channel end |
Instance Attribute Details
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
5 6 7 |
# File 'lib/mij-discord/events/channel.rb', line 5 def channel @channel end |