From 42a7c4f7e5caa7baf555e86b52249419ce33acfc Mon Sep 17 00:00:00 2001 From: SnowyLuma Date: Sat, 9 Mar 2019 05:48:23 +0100 Subject: Add support for guild banners Document banner attribute of Guild and Invite Update discord/utils.py Co-Authored-By: SnowyLuma <38926001+SnowyLuma@users.noreply.github.com> --- discord/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/http.py') diff --git a/discord/http.py b/discord/http.py index 6b0dcf23..6032d104 100644 --- a/discord/http.py +++ b/discord/http.py @@ -568,7 +568,7 @@ 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') + 'description', 'explicit_content_filter', 'banner') payload = { k: v for k, v in fields.items() if k in valid_keys -- cgit v1.2.3