Class: RubyCord::Client::Gateway::Event::InviteDeleteEvent

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

Overview

Represents a INVITE_DELETE event.

Instance Attribute Summary collapse

Method Summary

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

#inspect

Instance Attribute Details

#channelnil, RubyCord::Channel (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::Channel)

    The channel the message was sent in.



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

#codeString (readonly)

Returns The invite code.

Returns:

  • (String)

    The invite code.



429
430
431
# File 'lib/rubycord/client/gateway/event.rb', line 429

def code
  @code
end

#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 the message was sent in.



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