Class: Discordrb::Events::Event

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

Overview

Generic event class that can be extended

Instance Attribute Summary collapse

Instance Attribute Details

#botBot (readonly)

Returns the bot used to initialize this event.

Returns:

  • (Bot)

    the bot used to initialize this event.



55
56
57
# File 'lib/discordrb/events/generic.rb', line 55

def bot
  @bot
end