Class: Discordrb::Events::AwaitEvent
- Inherits:
-
Object
- Object
- Discordrb::Events::AwaitEvent
- Defined in:
- lib/discordrb/events/await.rb
Overview
Event raised when an await is triggered
Instance Attribute Summary collapse
-
#await ⇒ Object
readonly
Returns the value of attribute await.
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Instance Method Summary collapse
-
#initialize(await, event, bot) ⇒ AwaitEvent
constructor
A new instance of AwaitEvent.
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
#await ⇒ Object (readonly)
Returns the value of attribute await.
7 8 9 |
# File 'lib/discordrb/events/await.rb', line 7 def await @await end |
#event ⇒ Object (readonly)
Returns the value of attribute event.
7 8 9 |
# File 'lib/discordrb/events/await.rb', line 7 def event @event end |