aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2018-11-25 01:42:33 -0500
committerRapptz <[email protected]>2018-11-25 01:42:33 -0500
commit8b18fa307b5e4a9acc6c057b7489c4d11de359b4 (patch)
treee902b8be505c34a814823020cc7a4091e6db7ac9 /discord/http.py
parentSupport webp in _get_mime_type_for_image (diff)
downloaddiscord.py-8b18fa307b5e4a9acc6c057b7489c4d11de359b4.tar.xz
discord.py-8b18fa307b5e4a9acc6c057b7489c4d11de359b4.zip
Add support for default notification level in audit logs and Guild.edit
Diffstat (limited to 'discord/http.py')
-rw-r--r--discord/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py
index a0784e49..e4c0e55c 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -565,7 +565,7 @@ class HTTPClient:
def edit_guild(self, guild_id, *, reason=None, **fields):
valid_keys = ('name', 'region', 'icon', 'afk_timeout', 'owner_id',
'afk_channel_id', 'splash', 'verification_level',
- 'system_channel_id')
+ 'system_channel_id', 'default_message_notifications')
payload = {
k: v for k, v in fields.items() if k in valid_keys