Class: OnyxCord::Events::IntegrationDeleteEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/onyxcord/events/integration/delete.rb

Overview

Raised whenever an integration is deleted.

Instance Attribute Summary collapse

Attributes inherited from Event

#bot

Instance Attribute Details

#application_idInteger? (readonly)

Returns the ID of the application that was removed.

Returns:

  • (Integer, nil)

    the ID of the application that was removed.



15
16
17
# File 'lib/onyxcord/events/integration/delete.rb', line 15

def application_id
  @application_id
end

#integration_idInteger (readonly)

Returns the ID of the integration that was removed.

Returns:

  • (Integer)

    the ID of the integration that was removed.



12
13
14
# File 'lib/onyxcord/events/integration/delete.rb', line 12

def integration_id
  @integration_id
end

#serverServer (readonly)

Returns the server associated with the event.

Returns:

  • (Server)

    the server associated with the event.



9
10
11
# File 'lib/onyxcord/events/integration/delete.rb', line 9

def server
  @server
end