From 17efb1fcea0160fe7062f84d45dd0a5bc5299bdb Mon Sep 17 00:00:00 2001 From: "Dusty.P" Date: Sat, 14 Apr 2018 11:02:20 -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 06b9b81..7131e34 100644 --- a/geeksbot.py +++ b/geeksbot.py @@ -117,7 +117,7 @@ async def on_message(ctx): 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})) + prefix = bot.con.one('select prefix from guild_config where guild_id = %(id)s', {'id':ctx.guild.id}) prefix = prefix[0] if prefix else bot.default_prefix ctx.content = f'{prefix}{ctx.content}' await bot.process_commands(ctx)