mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Fix exempt_channels not being passed along in create_automod_rule
This commit is contained in:
parent
0e58a927dd
commit
fdb17ead03
@ -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,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user