Class: Rubycord::Events::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/rubycord/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.



53
54
55
# File 'lib/rubycord/events/generic.rb', line 53

def bot
  @bot
end