From 320dbc06182ce404af3fcc9749dc26428e6459eb Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 6 Jun 2019 22:30:02 -0400 Subject: Add support for system channel flags --- discord/http.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'discord/http.py') diff --git a/discord/http.py b/discord/http.py index bfbb4201..d3ef0b87 100644 --- a/discord/http.py +++ b/discord/http.py @@ -592,7 +592,8 @@ class HTTPClient: valid_keys = ('name', 'region', 'icon', 'afk_timeout', 'owner_id', 'afk_channel_id', 'splash', 'verification_level', 'system_channel_id', 'default_message_notifications', - 'description', 'explicit_content_filter', 'banner') + 'description', 'explicit_content_filter', 'banner', + 'system_channel_flags') payload = { k: v for k, v in fields.items() if k in valid_keys -- cgit v1.2.3