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 fab5247 commit 23c13bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cogs/shop.py
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,9 @@ def check(m):
async def logo(self, ctx):
post = await db.market.find_one({"owner": ctx.author.id})
def react(reaction, user):
return user != ctx.me and str(reaction.emoji) == '✅' or str(reaction.emoji) == '❎'
return (user != ctx.me
and reaction.message.id == sem.id
and str(reaction.emoji) in ['✅', '❎'])
def nc(m):
return m.author == ctx.message.author
embed = discord.Embed(colour=0x8980d9, description="To keep NSFW off of Restaurant Bot, staff members must review every logo.\n\nReply with the image URL for your logo.")
Expand Down Expand Up @@ -1966,7 +1968,7 @@ def react(reaction, user):
fire_msg = ""
if 'fire' in post['bonuses']:
fire_msg = ":fire: **ON FIRE** :fire:\n"
embed = discord.Embed(description=fire_msg+f"{post['description']}\n\n{" ".join(stones_ta)}\n\u200b")
embed = discord.Embed(description=fire_msg+f"{post['description']}\n\n{" ".join(stones_ta)}\u200b")
level = int(post['level'])
owner = post['owner']
perday = await self.calc_customers(owner)
Expand Down

0 comments on commit 23c13bc

Please sign in to comment.