Class: Discordrb::Events::AwaitEvent
- Inherits:
-
Object
- Object
- Discordrb::Events::AwaitEvent
- Defined in:
- lib/discordrb/events/await.rb
Overview
Instance Attribute Summary collapse
-
#await ⇒ Await
readonly
The await that was triggered.
-
#event ⇒ Event
readonly
The event that triggered the await.
Instance Method Summary collapse
-
#initialize(await, event, bot) ⇒ AwaitEvent
constructor
For internal use only.
Constructor Details
#initialize(await, event, bot) ⇒ AwaitEvent
For internal use only
17 18 19 20 21 |
# File 'lib/discordrb/events/await.rb', line 17 def initialize(await, event, bot) @await = await @event = event @bot = bot end |
Instance Attribute Details
#await ⇒ Await (readonly)
The await that was triggered.
9 10 11 |
# File 'lib/discordrb/events/await.rb', line 9 def await @await end |
#event ⇒ Event (readonly)
The event that triggered the await.
13 14 15 |
# File 'lib/discordrb/events/await.rb', line 13 def event @event end |