Correct how to check if it's in a list
This commit is contained in:
parent
b11f6ea869
commit
f8a3b64928
|
@ -185,7 +185,7 @@ ORDER BY
|
||||||
amount DESC
|
amount DESC
|
||||||
LIMIT 1
|
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)
|
most = await self.bot.db.fetchrow(query, ctx.author.id, members)
|
||||||
|
|
||||||
boops = self.bot.db.load('boops', key=ctx.message.author.id)
|
boops = self.bot.db.load('boops', key=ctx.message.author.id)
|
||||||
|
|
Loading…
Reference in a new issue