Class: Discordrb::Events::AwaitEvent
- Defined in:
- lib/discordrb/events/await.rb
Overview
Instance Attribute Summary collapse
-
#attributes ⇒ Hash
readonly
A hash of attributes defined on the await.
-
#await ⇒ Await
readonly
The await that was triggered.
-
#event ⇒ Event
readonly
The event that triggered the await.
-
#key ⇒ Symbol
readonly
The await's key.
-
#type ⇒ Class
readonly
The await's event class.
Attributes inherited from Event
Instance Attribute Details
#attributes ⇒ Hash (readonly)
Returns a hash of attributes defined on the await.
26 |
# File 'lib/discordrb/events/await.rb', line 26 delegate :key, :type, :attributes, to: :await |
#await ⇒ Await (readonly)
The await that was triggered.
11 12 13 |
# File 'lib/discordrb/events/await.rb', line 11 def await @await end |
#event ⇒ Event (readonly)
The event that triggered the await.
15 16 17 |
# File 'lib/discordrb/events/await.rb', line 15 def event @event end |
#key ⇒ Symbol (readonly)
Returns the await's key.
26 |
# File 'lib/discordrb/events/await.rb', line 26 delegate :key, :type, :attributes, to: :await |
#type ⇒ Class (readonly)
Returns the await's event class.
26 |
# File 'lib/discordrb/events/await.rb', line 26 delegate :key, :type, :attributes, to: :await |