Skip to content

Commit

Permalink
add context allowances
Browse files Browse the repository at this point in the history
  • Loading branch information
mralext20 committed Jul 26, 2024
1 parent daccbb4 commit 4a113d1
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 @@ -30,6 +30,7 @@ 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)
@app_commands.allowed_contexts(guilds=True, dms=True, private_channels=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 4a113d1

Please sign in to comment.