aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-08-17 18:13:18 -0400
committerRapptz <[email protected]>2017-08-17 18:14:52 -0400
commit13c6a0a17a1963d102f887e3be950c2e0dfdf36e (patch)
tree2761b078e826a27d0534fecc2728faeac1840de9 /discord/http.py
parentAdd default type for Game. (diff)
downloaddiscord.py-13c6a0a17a1963d102f887e3be950c2e0dfdf36e.tar.xz
discord.py-13c6a0a17a1963d102f887e3be950c2e0dfdf36e.zip
Add support for Guild.system_channel
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 b935cf99..57f99244 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -543,7 +543,8 @@ 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')
+ 'afk_channel_id', 'splash', 'verification_level',
+ 'system_channel_id')
payload = {
k: v for k, v in fields.items() if k in valid_keys