From 2c7908ace47a5c27320183d5019908f1c257c7b8 Mon Sep 17 00:00:00 2001 From: tumGER <25822956+tumGER@users.noreply.github.com> Date: Sun, 23 Dec 2018 20:08:34 +0100 Subject: [PATCH] Update lockdown.py --- cogs/lockdown.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/lockdown.py b/cogs/lockdown.py index e2f5d80..5a0a9e7 100644 --- a/cogs/lockdown.py +++ b/cogs/lockdown.py @@ -1,7 +1,7 @@ import discord import asyncio from discord.ext import commands -from config import modlog_channel, staff_role_ids, participant_role, community_channels, general_channels, hacker_role, community_role +from config import log_channel, staff_role_ids, participant_role, community_channels, general_channels, hacker_role, community_role class Lockdown: "Lockdown Commands" @@ -26,6 +26,6 @@ class Lockdown: await asyncio.gather(*(self.bot.edit_channel_permissions(ctx.message.channel, role, overwrites) for role in roles)) await ctx.send("🔒 Channel locked down. Only staff members may speak. Do not bring the topic to other channels or risk disciplinary actions.") ctx.send_message(modlog_channel, "Channel Lockdown for {channel} by {user}".format(ctx.message.channel.mention, ctx.message.author.mention)) - + def setup(bot): bot.add_cog(Lockdown(bot)) \ No newline at end of file