Skip to content

Commit

Permalink
[Discord] Improve points leaderboard command documentation
Browse files Browse the repository at this point in the history
Include default for number parameter and normalize documentation for its range
  • Loading branch information
Harmon758 committed Jul 17, 2023
1 parent 02df467 commit 7e9f6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Discord/cogs/points.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def leaderboard(self, ctx, number: commands.Range[int, 1, 15] = 10):
Parameters
----------
number
Number of Points (¤) leaders to show (between 1 and 15)
Number of Points (¤) leaders to show (1–15, default is 10)
"""
await ctx.defer()

Expand Down

0 comments on commit 7e9f6fb

Please sign in to comment.