Class: MijDiscord::Events::Channel

Inherits:
Generic show all
Defined in:
lib/mij-discord/events/channel.rb

Instance Attribute Summary collapse

Attributes inherited from Generic

#bot

Instance Method Summary collapse

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

#channelObject (readonly)

Returns the value of attribute channel.



5
6
7
# File 'lib/mij-discord/events/channel.rb', line 5

def channel
  @channel
end