Skip to content

Commit

Permalink
Add "r" alias (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
freiheit authored Nov 27, 2023
1 parent a357d30 commit 49092bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mvkdicebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def on_ready():
logger.warning(f"Logged in as {bot.user} (ID: {bot.user.id})")


@bot.hybrid_command() # pylint: disable=no-member
@bot.hybrid_command(aliases=['r', 'rolldice', 'diceroll']) # pylint: disable=no-member
async def roll(ctx, *, dicestr: str):
"""Rolls a pool of dice in NdN format.
Example: '?roll 1d20 2d10 d8 2d6'
Expand Down

0 comments on commit 49092bb

Please sign in to comment.