Class: RubyCord::Client::Gateway::Event::IntegrationDeleteEvent

Inherits:
RubyCord::Client::Gateway::Event show all
Defined in:
lib/rubycord/client/gateway/event.rb

Overview

Represents a INTEGRATION_DELETE event.

Instance Attribute Summary collapse

Method Summary

Methods inherited from RubyCord::Client::Gateway::Event

#inspect

Instance Attribute Details

#guildnil, RubyCord::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.

  • (RubyCord::Guild)

    The guild of the integration.



# File 'lib/rubycord/client/gateway/event.rb', line 128

#idRubyCord::Snowflake (readonly)

Returns The ID of the integration.

Returns:



126
127
128
# File 'lib/rubycord/client/gateway/event.rb', line 126

def id
  @id
end

#usernil, RubyCord::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.

  • (RubyCord::User)

    The user associated with the integration.



# File 'lib/rubycord/client/gateway/event.rb', line 128