Browse Source

Fix exempt_channels not being passed along in create_automod_rule

pull/10109/head
Leonardo 1 year ago
committed by dolfies
parent
commit
fce7bb46d2
  1. 2
      discord/guild.py

2
discord/guild.py

@ -5424,7 +5424,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…
Cancel
Save