diff --git a/src/commands/Community/teste.js b/src/commands/Community/teste.js index e58c041..eb6d092 100644 --- a/src/commands/Community/teste.js +++ b/src/commands/Community/teste.js @@ -29,11 +29,11 @@ module.exports = { ), async execute(interaction) { const nome = interaction.options.getString('nome'); - const target = interaction.options.getUserId('target'); + 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}`); + await interaction.reply(`Selecionaste: ${nome} ${target.id} ${raça}`); }, }; \ No newline at end of file