Class: Discordrb::Events::ScheduledEventEvent
- Defined in:
- lib/discordrb/events/scheduled_events.rb
Overview
Generic superclass for scheduled events.
Direct Known Subclasses
ScheduledEventCreateEvent, ScheduledEventDeleteEvent, ScheduledEventUpdateEvent
Instance Attribute Summary collapse
-
#scheduled_event ⇒ ScheduledEvent
readonly
The scheduled event associated with the event.
-
#server ⇒ Server
readonly
The server associated with the event.
Attributes inherited from Event
Instance Attribute Details
#scheduled_event ⇒ ScheduledEvent (readonly)
Returns the scheduled event associated with the event.
13 14 15 |
# File 'lib/discordrb/events/scheduled_events.rb', line 13 def scheduled_event @scheduled_event end |
#server ⇒ Server (readonly)
Returns the server associated with the event.
10 11 12 |
# File 'lib/discordrb/events/scheduled_events.rb', line 10 def server @server end |