Skip to content

Commit

Permalink
allow roll command to be user installed
Browse files Browse the repository at this point in the history
  • Loading branch information
mralext20 committed Jul 26, 2024
1 parent 15503f6 commit daccbb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alexBot/cogs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def __str__(self):
class Utils(Cog):
@app_commands.command()
@app_commands.describe(dice="dice format in XdY. can be multiple sets, seperated by spaces")
@app_commands.allowed_installs(guilds=True, users=True)
async def roll(self, interaction: discord.Interaction, dice: str):
"""Rolls a dice in NdN format."""
roll_results: List[Roll] = []
Expand Down

0 comments on commit daccbb4

Please sign in to comment.