aboutsummaryrefslogtreecommitdiff
path: root/discord/audit_logs.py
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2021-05-01 11:47:22 +0100
committerGitHub <[email protected]>2021-05-01 06:47:22 -0400
commit51df7496db724ed5074bc70c13e2cea9c3af67f8 (patch)
treec92ecfd8369c0947cfbda7ddab25c5e0718b7701 /discord/audit_logs.py
parentAdd types for ApplicationCommandPermissions & co (diff)
downloaddiscord.py-51df7496db724ed5074bc70c13e2cea9c3af67f8.tar.xz
discord.py-51df7496db724ed5074bc70c13e2cea9c3af67f8.zip
Add AuditLogChanges.rules_channel/public_updates_channel
Diffstat (limited to 'discord/audit_logs.py')
-rw-r--r--discord/audit_logs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/audit_logs.py b/discord/audit_logs.py
index 520712dd..d05c8a67 100644
--- a/discord/audit_logs.py
+++ b/discord/audit_logs.py
@@ -174,6 +174,8 @@ class AuditLogChanges:
'afk_channel_id': ('afk_channel', _transform_channel),
'system_channel_id': ('system_channel', _transform_channel),
'widget_channel_id': ('widget_channel', _transform_channel),
+ 'rules_channel_id': ('rules_channel', _transform_channel),
+ 'public_updates_channel_id': ('public_updates_channel', _transform_channel),
'permission_overwrites': ('overwrites', _transform_overwrites),
'splash_hash': ('splash', _guild_hash_transformer('splashes')),
'banner_hash': ('banner', _guild_hash_transformer('banners')),