From c4a0398a6094c1844e33a092be7ad21cbfe52a89 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Mon, 11 Jun 2018 02:17:15 -0800 Subject: [PATCH] fixed bug in admin new --- src/exts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exts/utils.py b/src/exts/utils.py index 49b96d1..1d71e5a 100644 --- a/src/exts/utils.py +++ b/src/exts/utils.py @@ -256,7 +256,7 @@ class Utils: msg = '' admin_roles = [] roles = await self.bot.db_con.fetchval(f'select admin_roles,rcon_admin_roles from guild_config ' - f'where = $1', ctx.guild.id) + f'where guild_id = $1', ctx.guild.id) request_id = await self.bot.db_con.fetchval(f'select id from admin_requests where ' f'issuing_member_id = $1 and request_time = $2', ctx.author.id, ctx.message.created_at)