From fdb17ead039f1efefbdaebcc47c6c4cd22ecae40 Mon Sep 17 00:00:00 2001 From: Leonardo Date: Tue, 11 Jun 2024 23:30:53 +0200 Subject: [PATCH] Fix exempt_channels not being passed along in create_automod_rule --- discord/guild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/guild.py b/discord/guild.py index 17f351b7a..8dca0f498 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -4374,7 +4374,7 @@ class Guild(Hashable): actions=[a.to_dict() for a in actions], enabled=enabled, exempt_roles=[str(r.id) for r in exempt_roles] if exempt_roles else None, - exempt_channel=[str(c.id) for c in exempt_channels] if exempt_channels else None, + exempt_channels=[str(c.id) for c in exempt_channels] if exempt_channels else None, reason=reason, )