Skip to content

Commit

Permalink
[Discord] Improve adventure stats woodcutting command formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Dec 18, 2023
1 parent 913c9df commit 72f7a4b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Discord/cogs/adventure.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,11 @@ async def stats_woodcutting(self, ctx):
'''Woodcutting stats'''
player = await self.get_adventure_player(ctx.author.id)
woodcutting_xp = player.woodcutting_xp
await ctx.embed_reply(f":evergreen_tree: Woodcutting xp: {woodcutting_xp:,}\n"
f"{self.level_bar(woodcutting_xp)}\n"
f"{xp_left_to_next_lvl(woodcutting_xp):,} xp to next level")
await ctx.embed_reply(
f":evergreen_tree: Woodcutting xp: {woodcutting_xp:,}\n"
f"{self.level_bar(woodcutting_xp)}\n"
f"{xp_left_to_next_lvl(woodcutting_xp):,} xp to next level"
)

@staticmethod
def level_bar(xp):
Expand Down

0 comments on commit 72f7a4b

Please sign in to comment.