mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2025-01-10 23:15:28 +00:00
lockdown: Fix a bug where staff would be muted too
This commit is contained in:
parent
31e712be86
commit
2737adc8c6
|
@ -12,7 +12,7 @@ class Lockdown:
|
||||||
for role in config.staff_role_ids:
|
for role in config.staff_role_ids:
|
||||||
try:
|
try:
|
||||||
await channel.set_permissions(channel.guild.get_role(role),
|
await channel.set_permissions(channel.guild.get_role(role),
|
||||||
send_messages=False,
|
send_messages=True,
|
||||||
reason=str(issuer))
|
reason=str(issuer))
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue