a
This commit is contained in:
parent
76e5a914dc
commit
a647b75844
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ async def on_message(message:discord.Message):
|
||||||
@app_commands.user_install()
|
@app_commands.user_install()
|
||||||
@app_commands.describe(id="Le nom court du personnage",message="Le message à envoyer")
|
@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_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):
|
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):
|
if not await say_message(interaction.user.id,interaction.guild.id,id,message,interaction.channel):
|
||||||
print("ok9")
|
print("ok9")
|
||||||
|
|
Loading…
Reference in a new issue