Update
This commit is contained in:
parent
9317e196dd
commit
f5758968f4
1 changed files with 11 additions and 1 deletions
12
gameutils.py
12
gameutils.py
|
@ -146,7 +146,17 @@ class gameutils(commands.Cog):
|
|||
@nextcord.slash_command(
|
||||
name="dice",
|
||||
description="Roll a number of dice",
|
||||
guild_ids=[1247883904178978927,699285282276507708],
|
||||
#guild_ids=[1247883904178978927,699285282276507708],
|
||||
integration_types=[
|
||||
nextcord.IntegrationType.guild_install,
|
||||
nextcord.IntegrationType.user_install,
|
||||
],
|
||||
contexts=[
|
||||
nextcord.InteractionContextType.guild,
|
||||
nextcord.InteractionContextType.bot_dm,
|
||||
nextcord.InteractionContextType.private_channel,
|
||||
],
|
||||
force_global=True,
|
||||
)
|
||||
async def diceroll(self, interaction: nextcord.Interaction, number: int, sides: int, hidden: str = nextcord.SlashOption(choices=["Yes", "No"])):
|
||||
message = f"May the odds ever be in your favor...\n"
|
||||
|
|
Loading…
Reference in a new issue