Package discord4j.core.object
Interface DiscordObject
-
- All Known Subinterfaces:
CategorizableChannel
,Channel
,Entity
,GuildChannel
,GuildMessageChannel
,MessageChannel
- All Known Implementing Classes:
ApplicationCommand
,ApplicationCommandInteraction
,ApplicationCommandInteractionOption
,ApplicationCommandInteractionOptionValue
,ApplicationCommandOption
,ApplicationCommandOptionChoice
,ApplicationInfo
,ApplicationTeam
,ApplicationTeamMember
,Attachment
,AuditLogEntry
,Ban
,Category
,Embed
,ExtendedInvite
,ExtendedPermissionOverwrite
,FollowedChannel
,Guild
,GuildEmoji
,GuildTemplate
,Integration
,IntegrationAccount
,IntegrationApplication
,Interaction
,Invite
,Member
,Message
,MessageInteraction
,MessageReference
,NewsChannel
,PrivateChannel
,Reaction
,Region
,Role
,RoleTags
,Sticker
,StoreChannel
,TextChannel
,User
,VoiceChannel
,VoiceState
,Webhook
public interface DiscordObject
An object characterized by the Discord platform.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GatewayDiscordClient
getClient()
Returns theGatewayDiscordClient
that created this object.
-
-
-
Method Detail
-
getClient
GatewayDiscordClient getClient()
Returns theGatewayDiscordClient
that created this object. Methods in it are exclusively based on the entity cache orStore
in use. Refer to callinggetClient().rest()
to access aDiscordClient
that is capable of requesting entities directly from the REST API.- Returns:
- The
GatewayDiscordClient
associated to this object.
-
-