Add support for Guild.system_channel
This commit is contained in:
1 parent
b8c19954e4
commit
13c6a0a17a
4 files changed
+36
-2
No files matched your search
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user