From a647b7584413d4ab2d5abed748c614f0e48cbfa4 Mon Sep 17 00:00:00 2001 From: GZod01 Date: Sun, 15 Dec 2024 17:06:24 +0100 Subject: [PATCH] a --- main-bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main-bot.py b/main-bot.py index 259eded..f5ac5c7 100644 --- a/main-bot.py +++ b/main-bot.py @@ -45,7 +45,7 @@ async def on_message(message:discord.Message): @app_commands.user_install() @app_commands.describe(id="Le nom court du personnage",message="Le message à envoyer") @app_commands.allowed_contexts(guilds=True,dms=True,private_channels=True) -@app_commands.allowed_installs(guilds=True,dms=True) +@app_commands.allowed_installs(guilds=True,users=True) async def say(interaction:discord.Interaction,id:str,message:str): if not await say_message(interaction.user.id,interaction.guild.id,id,message,interaction.channel): print("ok9")