Class: Discorb::Gateway::IntegrationDeleteEvent

Inherits:
GatewayEvent
  • Object
show all
Defined in:
lib/discorb/gateway.rb

Overview

Represents a INTEGRATION_DELETE event.

Instance Attribute Summary collapse

Instance Attribute Details

#guild -> nil, Discorb::Guild (readonly)

Note:

This method returns an object from client cache. it will return nil if the object is not in cache.

Returns:

  • (nil)

    The object wasn't cached.

  • (Discorb::Guild)

    The guild of the integration.



# File 'lib/discorb/gateway.rb', line 117

#id -> Discorb::Snowflake (readonly)

Returns The ID of the integration.

Returns:



116
117
118
# File 'lib/discorb/gateway.rb', line 116

def id
  @id
end

#user -> nil, Discorb::User (readonly)

Note:

This method returns an object from client cache. it will return nil if the object is not in cache.

Returns:

  • (nil)

    The object wasn't cached.

  • (Discorb::User)

    The user associated with the integration.



# File 'lib/discorb/gateway.rb', line 117