Interface HasGuild

All Known Subinterfaces:
ApplicationCommand, ApplicationCommandInteraction, ApplicationInfo, ButtonInteraction, Category, ChannelMention, DeletedMessage, DeletedThread, Emoji.CustomEmoji, EmojiUpdate, GatewayGuildBan, GuildChannel, GuildEntity, Interaction<T>, InteractionMember, Member, MessageEmbedUpdate, NewsChannel, PartialMember, PartialRole, Permissable, PresenceUpdate, Role, SelectInteraction, StageChannel, StoreChannel, TextChannel, ThreadChannel, ThreadListSync, ThreadMembersUpdate, TypingUser, VoiceChannel, VoiceServerUpdate, VoiceState, Webhook, WebhooksUpdate
All Known Implementing Classes:
ApplicationCommandImpl, ApplicationCommandInteractionImpl, ApplicationInfoImpl, ButtonInteractionImpl, CategoryImpl, ChannelMentionImpl, CustomEmojiImpl, DeletedMessageImpl, DeletedThreadImpl, EmojiUpdateImpl, GatewayGuildBanImpl, InteractionMemberImpl, MemberImpl, MessageEmbedUpdateImpl, NewsChannelImpl, PartialMemberImpl, PartialRoleImpl, PresenceUpdateImpl, RoleImpl, SelectInteractionImpl, StageChannelImpl, StoreChannelImpl, TextChannelImpl, ThreadChannelImpl, ThreadListSyncImpl, ThreadMembersUpdateImpl, TypingUserImpl, VoiceChannelImpl, VoiceServerUpdateImpl, VoiceStateImpl, WebhookImpl, WebhooksUpdateImpl

public interface HasGuild
Since:
12/23/20.
Author:
amy
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    The id of the guild this entity is from.
    long
    The id of the guild this entity is from.
  • Method Details

    • guildId

      @CheckReturnValue default String guildId()
      The id of the guild this entity is from.
      Returns:
      String representing the guild ID.
    • guildIdAsLong

      @CheckReturnValue long guildIdAsLong()
      The id of the guild this entity is from.
      Returns:
      Long representing the guild ID.