From f8a3b64928d36270d9c1bc745dc4aec77970dfb0 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Sun, 27 Jan 2019 21:24:56 -0600 Subject: [PATCH] Correct how to check if it's in a list --- cogs/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/stats.py b/cogs/stats.py index 2638417..b14b1da 100644 --- a/cogs/stats.py +++ b/cogs/stats.py @@ -185,7 +185,7 @@ ORDER BY amount DESC LIMIT 1 """ - members = ", ".join(f"{m.id}" for m in ctx.guild.members) + members = [m.id for m in ctx.guild.members] most = await self.bot.db.fetchrow(query, ctx.author.id, members) boops = self.bot.db.load('boops', key=ctx.message.author.id)