Fix database call when doing purge

This commit is contained in:
Zeva Rose 2021-06-30 19:47:37 -06:00
parent a44f52a1f3
commit 474089e10b

View file

@ -85,7 +85,7 @@ class AdminCog(commands.Cog):
async for message in channel.history(limit=amount + 1):
messages.append(message)
await channel.delete_messages(messages)
self.db.purges.insert_one(
self.db.jarvis.purges.insert_one(
{
"channel": ctx.channel.id,
"guild": ctx.guild.id,