Answer the question
In order to leave comments, you need to log in
How to issue a role on a specific server?
client.on('guildMemberAdd', async (member) => {
var role = member.guild.roles.cache.find(role => role.id === "784364508432695296");
member.roles.add(role);
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question