Class: Discordrb::Events::MessageIDEvent
- Defined in:
- lib/discordrb/events/message.rb
Overview
A subset of MessageEvent that only contains a message ID and a channel
Direct Known Subclasses
Instance Attribute Summary collapse
-
#channel ⇒ Channel
readonly
The channel in which this event occurred.
-
#id ⇒ Integer
readonly
The ID associated with this event.
Attributes inherited from Event
Instance Attribute Details
#channel ⇒ Channel (readonly)
Returns the channel in which this event occurred.
160 161 162 |
# File 'lib/discordrb/events/message.rb', line 160 def channel @channel end |
#id ⇒ Integer (readonly)
Returns the ID associated with this event.
157 158 159 |
# File 'lib/discordrb/events/message.rb', line 157 def id @id end |