1
0
Fork 0
mirror of synced 2024-05-03 04:02:28 +12:00

Correct how to check if it's in a list

This commit is contained in:
phxntxm 2019-01-27 21:24:56 -06:00
parent b11f6ea869
commit f8a3b64928

View file

@ -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)