lockdown: Fix a bug where staff would be muted too

This commit is contained in:
Ave Ozkal 2019-01-07 11:54:13 +03:00
parent 31e712be86
commit 2737adc8c6
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -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