lockdown: Fix a bug where staff would be muted too
This commit is contained in:
parent
31e712be86
commit
2737adc8c6
1 changed files with 1 additions and 1 deletions
|
@ -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