aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
diff options
context:
space:
mode:
authorSnowyLuma <[email protected]>2019-03-09 05:48:23 +0100
committerRapptz <[email protected]>2019-03-09 00:37:49 -0500
commit42a7c4f7e5caa7baf555e86b52249419ce33acfc (patch)
tree38fa7c675438069fa74b439a551ba36aa0bc521c /discord/http.py
parentAdd support for guild descriptions (diff)
downloaddiscord.py-42a7c4f7e5caa7baf555e86b52249419ce33acfc.tar.xz
discord.py-42a7c4f7e5caa7baf555e86b52249419ce33acfc.zip
Add support for guild banners
Document banner attribute of Guild and Invite Update discord/utils.py Co-Authored-By: SnowyLuma <[email protected]>
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 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