mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-23 06:25:33 +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:
|
||||
try:
|
||||
await channel.set_permissions(channel.guild.get_role(role),
|
||||
send_messages=False,
|
||||
send_messages=True,
|
||||
reason=str(issuer))
|
||||
except:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue