diff --git a/jarvis/cogs/admin/lock.py b/jarvis/cogs/admin/lock.py index e1aeb61..7c8f4a2 100644 --- a/jarvis/cogs/admin/lock.py +++ b/jarvis/cogs/admin/lock.py @@ -67,11 +67,7 @@ class LockCog(Scale): if not channel: channel = ctx.channel - # role = ctx.guild.default_role # Uncomment once implemented - if isinstance(channel, GuildText): - to_deny = Permissions.SEND_MESSAGES - elif isinstance(channel, GuildVoice): - to_deny = Permissions.CONNECT | Permissions.SPEAK + to_deny = Permissions.CONNECT | Permissions.SPEAK | Permissions.SEND_MESSAGES current = get(channel.permission_overwrites, id=ctx.guild.id) if current: