Method: Discorb::Gateway::ReactionEvent#guild

Defined in:
lib/discorb/gateway_events.rb

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



49
50
51
# File 'lib/discorb/gateway_events.rb', line 49

def guild
  @guild
end