This commit is contained in:
parent
6740e71590
commit
a9acb94b4d
@ -27,12 +27,13 @@ module.exports = {
|
||||
.setAutocomplete(true) // ATENÇÃO AQUI
|
||||
),
|
||||
async execute(interaction) {
|
||||
const nome = interaction.options.getString('nome');
|
||||
const target = interaction.options.getUser('cargo');
|
||||
|
||||
const nome = interaction.options.getUser('nome');
|
||||
const cargo = interaction.options.getString('cargo');
|
||||
const raça = interaction.options.getString('raça') ?? 'No reason provided';
|
||||
|
||||
|
||||
|
||||
await interaction.reply(`Selecionaste: ${nome} <@${target.id}> ${raça}`);
|
||||
await interaction.reply(`Selecionaste: ${nome.id} <@${cargo}> ${raça}`);
|
||||
},
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user