From 7209e38cc87e6e6a1faefea795b068a23a3760fb Mon Sep 17 00:00:00 2001 From: "Dusty.P" Date: Sat, 14 Apr 2018 11:00:47 -0800 Subject: [PATCH] Fixed syntax error --- geeksbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geeksbot.py b/geeksbot.py index b7eb8ab..06b9b81 100644 --- a/geeksbot.py +++ b/geeksbot.py @@ -114,7 +114,7 @@ async def on_message(ctx): if not ctx.author.bot: if ctx.guild: if int(bot.con.one(f"select channel_lockdown from guild_config where guild_id = %(id)s", {'id':ctx.guild.id})): - if ctx.channel.id in json.loads(bot.con.one(f"select allowed_channels from guild_config where guild_id = %(id)s", {'id':ctx.guild.id}))): + if ctx.channel.id in json.loads(bot.con.one(f"select allowed_channels from guild_config where guild_id = %(id)s", {'id':ctx.guild.id})): await bot.process_commands(ctx) elif ctx.channel.id == 418452585683484680: prefix = bot.con.one('select prefix from guild_config where guild_id = %(id)s", {'id':ctx.guild.id}))