public interface DiscordObject
Modifier and Type | Method and Description |
---|---|
GatewayDiscordClient |
getClient()
Returns the
GatewayDiscordClient that created this object. |
GatewayDiscordClient getClient()
GatewayDiscordClient
that created this object. Methods in it are exclusively based on the
entity cache or Store
in use. Refer to calling getClient().rest()
to access a
DiscordClient
that is capable of requesting entities directly from the REST API.GatewayDiscordClient
associated to this object.