Class Guild


  • public class Guild
    extends PartialGuild
    Represents a Discord Guild. Guilds in Discord represent an isolated collection of users and channels, and are often referred to as "servers" in the UI.
    See Also:
    Discord Guild Resource
    • Method Detail

      • getSplash

        public java.lang.String getSplash()
      • getOwner_id

        public java.lang.String getOwner_id()
      • getRegion

        public java.lang.String getRegion()
      • getAfk_channel_id

        public java.lang.String getAfk_channel_id()
      • getAfk_timeout

        public int getAfk_timeout()
      • isEmbed_enabled

        public boolean isEmbed_enabled()
      • getEmbed_channel_id

        public java.lang.String getEmbed_channel_id()
      • getVerification_level

        public int getVerification_level()
      • getDefault_message_notifications

        public int getDefault_message_notifications()
      • getExplicit_content_filter

        public int getExplicit_content_filter()
      • getRoles

        public Role[] getRoles()
      • getMfa_level

        public int getMfa_level()
      • getApplication_id

        public java.lang.String getApplication_id()
      • getGuildUser

        public GuildUser getGuildUser​(@NotNull
                                      @NotNull java.lang.String id,
                                      @NotNull
                                      @NotNull Bot bot)
        Returns a GuildUser object for the specified user id.
        Parameters:
        id - Snowflake id of the user
        bot - Bot to get the user as
        Returns:
        The GuildUser
        See Also:
        Discord Get Guild Member