PartialGuild
Properties
Returns all active public and private threads in this guild Threads are ordered by their id, in descending order.
The approximate number of members in this guild.
The approximate number of online members in this guild.
Requests to get all AutoModerationRules currently configured for this guild.
Requests to get all threads in this guild that are present in cache.
The description of this guild, if present.
Requests to get all custom emojis in this guild in an unspecified order.
Returns the gateway this guild is part of as per the Discord sharding rules. Returns null
if no gateway for the shard is present in kord.
Requests to get the integrations of this guild.
Requests to get the invites for this guild.
The NSFW Level of this Guild
permissions that the invite creator has, if present.
The supplier used to request entities.
The vanity code of this server used in the vanityUrl, if present.
The verification level required for the guild.
Requests to get the present voice states of this guild.
The welcome screen of a Community guild, shown to new members.
Functions
Requests to get this behavior as a Guild, returns null if the guild isn't present.
Requests to ban the given userId in this guild.
Requests to create a new category.
Requests to create a new KeywordAutoModerationRule in this guild and returns it.
Requests to create a new KeywordPresetAutoModerationRule in this guild and returns it.
Requests to create a new MemberProfileAutoModerationRule in this guild and returns it.
Requests to create a new MentionSpamAutoModerationRule in this guild and returns it.
Requests to create a new news channel.
Requests to add a new role to this guild.
Creates a new GuildScheduledEvent.
Requests to create a new SpamAutoModerationRule in this guild and returns it.
Requests to create a new stage channel.
Requests to create a new text channel.
Requests to create a new voice channel.
Requests to edit this guild.
Requests to edit this guild's MFA level and returns the updated level.
Requests to edit the GuildOnboarding object of the guild and returns the edited onboarding object.
Requests to change the nickname of the bot in this guild, passing null
will remove it.
Retrieve the Guild associated with this behaviour from the provided EntitySupplier
Retrieve the Guild associated with this behaviour from the provided EntitySupplier returns null if the Guild isn't present.
The Audit log entries from this guild, configured by the builder.
Requests an AutoModerationRule by its id.
Requests an AutoModerationRule by its id. Returns null
if it wasn't found.
Requests to get the TopGuildChannel represented by the channelId.
Requests to get the GuildChannel represented by the channelId as type T.
Requests to get the GuildChannel represented by the channelId as type T, returns null if the GuildChannel isn't present.
Requests to get the GuildChannel represented by the channelId, returns null if the GuildChannel isn't present.
Requests to get the full Guild entity for this PartialGuild.
Requests a GuildScheduledEvent by its id.
Requests a GuildScheduledEvent by its id returns null
if none could be found.
Requests to get up to limit members whose Member.username or Member.nickname match the query. The limit accepts a maximum value of 1000
and a minimum of 1
.
Requests the onboarding object for this guild.
Requests the onboarding object for this guild. Returns null
if it wasn't found.
Returns the preview of this guild. The bot does not need to present in this guild for this to complete successfully.
Returns the preview of this guild. The bot does not need to present in this guild for this to complete successfully. Returns null if the preview doesn't exist.
Requests to get the amount of users that would be pruned in this guild.
Requests to get the vanity url of this guild, if present.
Executes the request on this gateway, returning a flow of MembersChunkEvent responses.
Executes a RequestGuildMembers command configured by the builder for guild on this gateway, returning a flow of MembersChunkEvent responses.
Requests to swap positions of channels in this guild.
Requests to swap positions of roles in this guild.
Returns a new GuildBehavior with the given strategy.