This commit is contained in:
parent
6844a4ff57
commit
a317532d98
@ -76,7 +76,7 @@ module.exports = {
|
||||
if (member.roles.cache.has(cargo)) {
|
||||
return await interaction.editReply({ content: `❗ O membro ${nome.username} já possui o cargo <@&${cargo}>.`, ephemeral: true });
|
||||
}
|
||||
|
||||
console.log(member.roles.add(cargo));
|
||||
// 5 - Adicionar o cargo
|
||||
await member.roles.add(cargo);
|
||||
} catch (error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user