Class: Discordrb::Events::AwaitEvent

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

Overview

Event raised when an await is triggered

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(await, event, bot) ⇒ AwaitEvent



10
11
12
13
14
# File 'lib/discordrb/events/await.rb', line 10

def initialize(await, event, bot)
  @await = await
  @event = event
  @bot = bot
end

Instance Attribute Details

#awaitObject (readonly)

Returns the value of attribute await.



7
8
9
# File 'lib/discordrb/events/await.rb', line 7

def await
  @await
end

#eventObject (readonly)

Returns the value of attribute event.



7
8
9
# File 'lib/discordrb/events/await.rb', line 7

def event
  @event
end