Interface GuildEntity

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

public interface GuildEntity extends Entity, HasGuild
An entity which is guild-scoped in catnip.
Since:
1/19/19.
Author:
AdrianTodt
  • Method Summary

    Modifier and Type
    Method
    Description
    default io.reactivex.rxjava3.core.Maybe<Guild>
    The guild this entity is from.

    Methods inherited from interface com.mewna.catnip.entity.Entity

    catnip, serialize

    Methods inherited from interface com.mewna.catnip.entity.partials.HasGuild

    guildId, guildIdAsLong
  • Method Details

    • guild

      @Nonnull @CheckReturnValue default io.reactivex.rxjava3.core.Maybe<Guild> guild()
      The guild this entity is from.
      Returns:
      Guild represented by the guild ID.