Class: Discordrb::Events::MessageIDEvent
- Inherits:
-
Object
- Object
- 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.
Instance Attribute Details
#channel ⇒ Channel (readonly)
Returns the channel in which this event occurred.
105 106 107 |
# File 'lib/discordrb/events/message.rb', line 105 def channel @channel end |
#id ⇒ Integer (readonly)
Returns the ID associated with this event.
102 103 104 |
# File 'lib/discordrb/events/message.rb', line 102 def id @id end |