Class: Discordrb::Events::MessageIDEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/discordrb/events/message.rb

Overview

A subset of MessageEvent that only contains a message ID and a channel

Direct Known Subclasses

MessageDeleteEvent

Instance Attribute Summary collapse

Attributes inherited from Event

#bot

Instance Attribute Details

#channelChannel (readonly)



160
161
162
# File 'lib/discordrb/events/message.rb', line 160

def channel
  @channel
end

#idInteger (readonly)



157
158
159
# File 'lib/discordrb/events/message.rb', line 157

def id
  @id
end