This commit is contained in:
insert 2024-08-12 13:25:48 -04:00
parent 9317e196dd
commit f5758968f4
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -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"