From 2737adc8c645f5eb8d06901de95810d0758376e7 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Mon, 7 Jan 2019 11:54:13 +0300 Subject: [PATCH] lockdown: Fix a bug where staff would be muted too --- cogs/lockdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/lockdown.py b/cogs/lockdown.py index 6f8ac34..1ed663d 100644 --- a/cogs/lockdown.py +++ b/cogs/lockdown.py @@ -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