Class: Discorb::Gateway::WebhooksUpdateEvent

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

Overview

Represents a WEBHOOKS_UPDATE event.

Instance Attribute Summary collapse

Instance Attribute Details

#channel -> nil, Discorb::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.

  • (Discorb::Channel)

    The channel where the webhook was updated.



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

#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 where the webhook was updated.



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