From f9c0e4d770c09e27e200d872595a8a3da8c950de Mon Sep 17 00:00:00 2001 From: paixlukee Date: Wed, 19 Feb 2025 14:07:13 -0500 Subject: [PATCH] . --- cogs/shop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/shop.py b/cogs/shop.py index 99eed1e..91bd29a 100644 --- a/cogs/shop.py +++ b/cogs/shop.py @@ -183,7 +183,7 @@ async def show_page(self, ctx, page, interaction): async def delete(self, ctx): def ans(m): return m.author == ctx.message.author - post = await db.market.find({"owner": ctx.author.id}) + post = await db.market.find_one({"owner": ctx.author.id}) if post: msg = await ctx.send("Are you sure you want to delete your restaurant? Deleting will erase all of your hardwork. If you're sure, reply with \"I'm sure\".") try: