name (str) – The new name of the guild.
description (Optional[str]) – The new description of the guild. Could be None for no description. This is only available to guilds that contain COMMUNITY in Guild.features.
icon (bytes) – A bytes-like object representing the icon. Only PNG/JPEG is supported. GIF is only available to guilds that contain ANIMATED_ICON in Guild.features. Could be None to denote removal of the icon.
banner (bytes) – A bytes-like object representing the banner. Could be None to denote removal of the banner. This is only available to guilds that contain BANNER in Guild.features.
splash (bytes) – A bytes-like object representing the invite splash. Only PNG/JPEG supported. Could be None to denote removing the splash. This is only available to guilds that contain INVITE_SPLASH in Guild.features.
discovery_splash (bytes) –
A bytes-like object representing the discovery splash. Only PNG/JPEG supported. Could be None to denote removing the splash. This is only available to guilds that contain DISCOVERABLE in Guild.features.
community (bool) –
Whether the guild should be a Community guild. If set to True, both rules_channel and public_updates_channel parameters are required.
afk_channel (Optional[VoiceChannel]) – The new channel that is the AFK channel. Could be None for no AFK channel.
afk_timeout (int) – The number of seconds until someone is moved to the AFK channel.
owner (Member) –
The new owner of the guild to transfer ownership to. Note that you must be owner of the guild to do this.
Deprecated since version 2.6: This parameter is deprecated and will be removed in a future version as bots can no longer own guilds.
verification_level (VerificationLevel) – The new verification level for the guild.
default_notifications (NotificationLevel) – The new default notification level for the guild.
explicit_content_filter (ContentFilter) – The new explicit content filter for the guild.
vanity_code (str) –
The new vanity code for the guild.
Deprecated since version 2.6: This parameter is deprecated and will be removed in a future version as bots can no longer set this.
system_channel (Optional[TextChannel]) – The new channel that is used for the system channel. Could be None for no system channel.
system_channel_flags (SystemChannelFlags) – The new system channel settings to use with the new system channel.
preferred_locale (Locale) –
The new preferred locale for the guild. Used as the primary language in the guild.
Changed in version 2.0: Now accepts an enum instead of str.
rules_channel (Optional[TextChannel]) –
The new channel that is used for rules. This is only available to guilds that contain COMMUNITY in Guild.features. Could be None for no rules channel.
public_updates_channel (Optional[TextChannel]) –
The new channel that is used for public updates from Discord. This is only available to guilds that contain COMMUNITY in Guild.features. Could be None for no public updates channel.
premium_progress_bar_enabled (bool) –
Whether the premium AKA server boost level progress bar should be enabled for the guild.
discoverable (bool) –
Whether server discovery is enabled for this guild.
invites_disabled (bool) –
Whether joining via invites should be disabled for the guild.
widget_enabled (bool) –
Whether to enable the widget for the guild.
widget_channel (Optional[abc.Snowflake]) –
The new widget channel. None removes the widget channel.
mfa_level (MFALevel) –
The new guild’s Multi-Factor Authentication requirement level. Note that you must be owner of the guild to do this.
Deprecated since version 2.6: This parameter is deprecated and will be removed in a future version as bots can no longer own guilds.
reason (Optional[str]) – The reason for editing this guild. Shows up on the audit log.
raid_alerts_disabled (bool) –
Whether the alerts for raid protection should be disabled for the guild.
safety_alerts_channel (Optional[TextChannel]) –
The new channel that is used for safety alerts. This is only available to guilds that contain COMMUNITY in Guild.features. Could be None for no safety alerts channel.
invites_disabled_until (Optional[datetime.datetime]) –
The time when invites should be enabled again, or None to disable the action. This must be a timezone-aware datetime object. Consider using utils.utcnow().
dms_disabled_until (Optional[datetime.datetime]) –
The time when direct messages should be allowed again, or None to disable the action. This must be a timezone-aware datetime object. Consider using utils.utcnow().