Sets the id of a discord.GuildVoiceChannel to send users to after being idle for longer than discord.Guild.afkTimeout.
If null, the AFK timeout is disabled.
Sets the amount of time (in seconds) until users idle in voice channels are moved to the AFK channel, if set.
Note: To enable/disable AFK channel timeouts, set afkChannelId to a valid discord.GuildVoiceChannel's id.
Sets a new guild invite page background. Requires the discord.Guild.Feature.BANNER feature on the guild.
Accepts image data in the format of JPEG only.
If a string is passed, please pass a base64 encoded data URI.
If null, the banner is removed.
Sets what new members' default notification settings should be.
See discord.Guild.NotificationsLevel for a list of possible options.
Sets the level of content scanning Discord should perform on images sent by members.
See discord.Guild.ExplicitContentFilterLevel for a list of possible options.
Sets a new guild icon. Accepts image data in the format of JPEG, PNG, or GIF.
If a string is passed, please pass a base64 encoded data URI.
If null, the icon is removed.
Sets the name of the guild.
The id of a user to transfer this guild to. Typically, bots will not be the owner of a guild.
Sets the voice region this guild should use for voice channels.
See discord.Guild.Region for a list of possible options.
Sets a new guild invite page background/splash image. Requires the discord.Guild.Feature.INVITE_SPLASH feature on the guild.
Accepts image data in the format of JPEG only.
If a string is passed, please pass a base64 encoded data URI.
If null, the invite background splash image is removed.
Sets the id of the discord.GuildTextChannel to send welcome messages and server boost messages to.
If null, the feature is disabled.
Sets the verification level for this guild. Applies to members without any roles.
See discord.Guild.VerificationLevel for a list of possible options.
Generated using TypeDoc
Options for discord.Guild.edit, requires [[discord.Permission.MANAGE_GUILD]] to modify options.