Browse Source
Fix exempt_channels not being passed along in create_automod_rule
pull/9863/head
Leonardo
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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, |
|
|
|
) |
|
|
|
|
|
|
|