Class: Discordrb::Events::Event
- Inherits:
-
Object
- Object
- Discordrb::Events::Event
- Defined in:
- lib/discordrb/events/generic.rb
Overview
Generic event class that can be extended
Direct Known Subclasses
AwaitEvent, ChannelCreateEvent, ChannelDeleteEvent, ChannelRecipientEvent, InteractionCreateEvent, InviteCreateEvent, InviteDeleteEvent, LifetimeEvent, MessageEvent, MessageIDEvent, PlayingEvent, PresenceEvent, RawEvent, ReactionEvent, ReactionRemoveAllEvent, ServerEvent, ServerMemberEvent, ServerRoleCreateEvent, ServerRoleDeleteEvent, ThreadCreateEvent, ThreadMembersUpdateEvent, TypingEvent, UserBanEvent, VoiceServerUpdateEvent, VoiceStateUpdateEvent, WebhookUpdateEvent
Instance Attribute Summary collapse
-
#bot ⇒ Bot
readonly
The bot used to initialize this event.
Instance Attribute Details
#bot ⇒ Bot (readonly)
Returns the bot used to initialize this event.
55 56 57 |
# File 'lib/discordrb/events/generic.rb', line 55 def bot @bot end |