Class: OnyxCord::Events::MessageIDEvent
- Includes:
- Respondable
- Defined in:
- lib/onyxcord/events/message/ids.rb
Overview
A subset of MessageEvent that only contains a message ID and a channel
Direct Known Subclasses
Instance Attribute Summary collapse
-
#id ⇒ Integer
readonly
The ID associated with this event.
-
#server ⇒ Server?
readonly
The server associated with this event.
Attributes included from Respondable
Attributes inherited from Event
Method Summary
Methods included from Respondable
#<<, #drain, #drain_into, #send_embed, #send_message, #send_message!, #send_temporary_message
Instance Attribute Details
#id ⇒ Integer (readonly)
Returns the ID associated with this event.
12 13 14 |
# File 'lib/onyxcord/events/message/ids.rb', line 12 def id @id end |
#server ⇒ Server? (readonly)
Returns the server associated with this event.
15 16 17 |
# File 'lib/onyxcord/events/message/ids.rb', line 15 def server @server end |