Class: Discordrb::Events::IntegrationDeleteEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/discordrb/events/integrations.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.



38
39
40
# File 'lib/discordrb/events/integrations.rb', line 38

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.



35
36
37
# File 'lib/discordrb/events/integrations.rb', line 35

def integration_id
  @integration_id
end

#serverServer (readonly)

Returns the server associated with the event.

Returns:

  • (Server)

    the server associated with the event.



32
33
34
# File 'lib/discordrb/events/integrations.rb', line 32

def server
  @server
end