Implement some missing attributes of Guild (and Guild.edit)

This commit is contained in:
NCPlayz
2020-05-22 19:39:42 +01:00
committed by Rapptz
parent 40a4604604
commit ed80ba6a5e
2 changed files with 59 additions and 7 deletions

View File

@ -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