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 5df6e8a commit d0a69cf
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions cogs/shop.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ async def leaderboard(self, ctx, page="1"):
level = x['level']
emoji = ""
if i == 0:
emoji = " :first_place:"
emoji = ":first_place: "
elif i == 1:
emoji = " :second_place:"
emoji = ":second_place: "
elif i == 2:
emoji = " :third_place:"
embed.add_field(name=x['name'] + emoji, value=f"{self.levelEmoji[str(level)]} {exp} EXP", inline=False)
emoji = ":third_place: "
embed.add_field(name=emoji+ x['name'], value=f"{self.levelEmoji[str(level)]} {exp} EXP", inline=False)

embed.set_footer(text=f"Page {page} | b.lb {page + 1} for next page")

Expand Down Expand Up @@ -119,12 +119,12 @@ async def leaderboard(self, ctx, page="1"):
level = x['level']
emoji = ""
if i == 0:
emoji = " :first_place:"
emoji = ":first_place: "
elif i == 1:
emoji = " :second_place:"
emoji = ":second_place: "
elif i == 2:
emoji = " :third_place:"
embed.add_field(name=x['name'] + emoji, value=f"{self.levelEmoji[str(level)]} {exp} EXP", inline=False)
emoji = ":third_place: "
embed.add_field(name=emoji + x['name'], value=f"{self.levelEmoji[str(level)]} {exp} EXP", inline=False)

embed.set_footer(text=f"Page {page_num} | b.lb {page_num + 1} for next page")

Expand Down Expand Up @@ -153,12 +153,12 @@ async def show_page(self, ctx, page, interaction):
level = x['level']
emoji = ""
if i == 0:
emoji = " :first_place:"
emoji = ":first_place: "
elif i == 1:
emoji = " :second_place:"
emoji = ":second_place: "
elif i == 2:
emoji = " :third_place:"
embed.add_field(name=x['name'] + emoji, value=f"{self.levelEmoji[str(level)]} {exp} EXP", inline=False)
emoji = ":third_place: "
embed.add_field(name=emoji + x['name'], value=f"{self.levelEmoji[str(level)]} {exp} EXP", inline=False)

embed.set_footer(text=f"Page {page} | b.lb {page + 1} for next page")

Expand Down Expand Up @@ -1527,7 +1527,7 @@ async def fish(self, ctx):
await ctx.send("You don't have a fishing rod. Buy one by saying `b.buy item` and then clicking `1`.")
self.bot.get_command("fish").reset_cooldown(ctx)
else:
if random.randint(1, 18) == 1:
if random.randint(1, 19) == 1:
frag = await self.add_rand_fragment(ctx.author.id)
if not frag:
await self.add_money(ctx.author.id, 120, check_tasks=True)
Expand Down

0 comments on commit d0a69cf

Please sign in to comment.