Skip to content

Commit

Permalink
Merge pull request #113 from riazufila/release-v1.5.7
Browse files Browse the repository at this point in the history
Rearranged rank sequence
  • Loading branch information
riazufila authored May 9, 2021
2 parents 616bd84 + 7dedda9 commit 5088c04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions cogs/currency.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,12 +330,12 @@ async def rich(self, ctx, scope="server"):
for whales in guardian_with_gems:
if counter == 1:
output = output + \
f"{counter}. Lvl {whales[3]} " \
+ f"{whales[0]:,d} πŸ’Ž - `{whales[1]}`"
f"{counter}. {whales[0]:,d} πŸ’Ž - " \
+ f"Lvl {whales[3]} `{whales[1]}`"
else:
output = output \
+ f"\n{counter}. Lvl {whales[3]} " \
+ f"{whales[0]:,d} πŸ’Ž - `{whales[1]}`"
+ f"\n{counter}. {whales[0]:,d} πŸ’Ž - " \
+ f"Lvl {whales[3]} `{whales[1]}`"

# Get username if any
username = db_ailie.get_username(whales[2])
Expand Down
8 changes: 4 additions & 4 deletions cogs/pvp.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,12 +891,12 @@ async def rank(self, ctx, scope="server"):
for barbarian in guardian_with_trophy:
if counter == 1:
output = output \
+ f"{counter}. Lvl {barbarian[3]} " \
+ f"{barbarian[0]:,d} πŸ† - `{barbarian[1]}`"
+ f"{counter}. {barbarian[0]:,d} πŸ† - " \
+ f"Lvl {barbarian[3]} `{barbarian[1]}`"
else:
output = output + \
f"\n{counter}. Lvl {barbarian[3]} " \
+ f"{barbarian[0]:,d} πŸ† - `{barbarian[1]}`"
f"\n{counter}. {barbarian[0]:,d} πŸ† - " \
+ f"Lvl {barbarian[3]} `{barbarian[1]}`"

# Get username if any
username = db_ailie.get_username(barbarian[2])
Expand Down

0 comments on commit 5088c04

Please sign in to comment.