Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
paixlukee committed Feb 19, 2025
1 parent c697c5c commit f9c0e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/shop.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f9c0e4d

Please sign in to comment.