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