The ID of the guild you want to prune.
BeginGuildPruneOptions
GuildPruneCountResponse object.
Gets the number of members that would be removed in a prune operation
The ID of the guild you want to get the prune count of.
GetGuildPruneCountOptions
Number of members that would be removed in a prune operation.
Modifys a role in a guild
The ID of the guild you want to Modify a role in.
GuildRoleOptions
Role object
Removes the ban of a user in a guild.
The ID of the guild you want to Remove the ban from.
The user's ID.
Ban object
Add a user to a guild
The ID of the guild you want to add a member to.
The user's ID.
{
GuildMember object.
Adds a role to a guild member
The ID of the guild you want to add the role to.
The user's ID
The ID of the role you want to add to the user.
A GuildMember object.
Creates a guild
CreateGuildOptions
Guild object
Creates the ban of a user in a guild.
The ID of the guild you want to create the ban from.
The user's ID.
Ban object
Creates a guild channel.
The ID of the guild you want to create a channel in.
CreateGuildChannelOptions
Channel object
Creates a role in a guild
The ID of the guild you want to create a role in.
GuildRoleOptions = {}
Role object
Delete a guild
The ID of the guild you want to delete.
Deletes a integrations of a guild.
The ID of the guild you want to delete a integrations from.
The ID of the integration you want to delete.
Deletes a role from a guild
The ID of the guild you want to delete the role from.
The ID of the role you want to delete.
Gets a guild by its ID
The ID of the guild you want to get.
Guild object
Gets the ban of a user in a guild.
The ID of the guild you want to get the ban from.
The user's ID.
Ban object
Gets the bans of a guild
The ID of the guild to get the bans from.
GetGuildBansOptions = {}
Array of bans.
Gets all the channels in a guild.
The ID of the guild you want to get the channels from.
Array of channels
Gets the integrations of a guild.
The ID of the guild you want to get the integrations from.
An array of Integration objects.
Gets the invites of a guild.
The ID of the guild you want to get the invites from.
An array of Invite objects.
Get a guild member.
The ID of the guild you want to get the member from.
The user's ID.
A GuildMember object
Gets the guild preview.
The ID of the guild you want to get the preview of.
GuildPreview object
Gets the roles of a guild.
The ID of the guild you want to get the roles from.
Array of Role objects.
Gets the guild's vanity URL.
The ID of the guild you want to get the vanity URL for.
The guild's vanity URL.
Gets the voice regions of a guild.
The ID of the guild you want to get the voice regions of.
An array of VoiceRegion objects.
Gets the welcome screen of a guild.
The ID of the guild you want to get the welcome screen of.
WelcomeScreen
Gets the guild widget.
The ID of the guild you want to get the widget for.
GetGuildWidget
Gets the widget settings of a guild.
The ID of the guild you want to get the widget settings from.
An array of widget settings objects.
List active threads in a guild
The ID of the guild you want to get the active threads from.
Array of threads and members
Lists all the members in a guild.
The ID of the guild you want to get the members of.
ListGuildMembersOptions @default {limit:1000}
Array of GuildMember objects.
Modify the current user's guild member
The ID of the guild you want to modify the current member of.
ModifyCurrentGuildMemberOptions
GuildMember object.
Modify the current user voice state
The ID of the guild
Options
Modify a guild
The ID of the guild you want to modify.
ModifyGuildOptions
Guild object
Modify the position of a guild channel
The ID of the guild you want to modify the channel position of.
ModifyGuildChannelPositionOptions
Modify a guild member
The ID of the guild you want to modify the member of.
The user's id
ModifyGuildMemberOptions
GuildMember object.
Modify the positions of a set of role objects for the guild
The ID of the guild you want to modify the role position of.
ModifyGuildRolePositionOptions
Array of roles.
Modified the welcome screen of a guild.
The ID of the guild you want to modify the welcome screen of.
Options.
WelcomeScreen
Modify a user voice state
The ID of the guild
The ID of the user
Options
Removes a guild member
The ID of the guild you want to remove.
The user's ID
Removes a role to a guild member
The ID of the guild you want to remove the role to.
The user's ID
The ID of the role you want to remove to the user.
A GuildMember object.
Searches for members in a guild.
The ID of the guild to search in.
SearchGuildMembersOptions = {}
Array of GuildMember objects.
Bot's token
API Version
API Version
Bot's token
Token type
Generated using TypeDoc
Begins a prune of members in a guild