Method: Discordrb::Await#type

Defined in:
lib/discordrb/await.rb

#typeClass (readonly)

The class of the event that this await listens for.

Returns:

  • (Class)

    The event class.



22
23
24
# File 'lib/discordrb/await.rb', line 22

def type
  @type
end