aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
diff options
context:
space:
mode:
authorNCPlayz <[email protected]>2020-05-22 19:39:42 +0100
committerRapptz <[email protected]>2020-05-23 22:04:02 -0400
commited80ba6a5ef2d9b9bbe088d1c6034229c697d220 (patch)
tree9d65b9d9a5ffc85c27f14825beda5571e0ffdef4 /discord/http.py
parentuse `_channel_factory` instead of manual checking in `Guild._sync` (diff)
downloaddiscord.py-ed80ba6a5ef2d9b9bbe088d1c6034229c697d220.tar.xz
discord.py-ed80ba6a5ef2d9b9bbe088d1c6034229c697d220.zip
Implement some missing attributes of `Guild` (and `Guild.edit`)
Diffstat (limited to 'discord/http.py')
-rw-r--r--discord/http.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py
index d022286f..e1653ed8 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -620,7 +620,8 @@ class HTTPClient:
'afk_channel_id', 'splash', 'verification_level',
'system_channel_id', 'default_message_notifications',
'description', 'explicit_content_filter', 'banner',
- 'system_channel_flags')
+ 'system_channel_flags', 'rules_channel_id',
+ 'public_updates_channel_id')
payload = {
k: v for k, v in fields.items() if k in valid_keys