From d287b1eff1835126dfe53fb3754e4720174f018f Mon Sep 17 00:00:00 2001 From: Bxio Date: Thu, 17 Apr 2025 10:15:25 +0100 Subject: [PATCH] --- src/commands/Community/teste.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/commands/Community/teste.js b/src/commands/Community/teste.js index ff9a67c..d66806d 100644 --- a/src/commands/Community/teste.js +++ b/src/commands/Community/teste.js @@ -29,6 +29,11 @@ module.exports = { ), async execute(interaction) { const nome = interaction.options.getString('nome'); - await interaction.reply(`Selecionaste: ${nome} ${target} ${raça}`); + const target = interaction.options.getUser('target'); + const raça = interaction.options.getString('raça') ?? 'No reason provided'; + + + + await interaction.reply(`Selecionaste: ${nome} ${target.username} ${raça}`); }, }; \ No newline at end of file