Answer the question
In order to leave comments, you need to log in
role.setcolor() code not working in discord.js v12?
in the console there is an error that it is for v11, I don’t know how to change it, help me if I’m stupid, sorry)
bot.on('message', msg => {
if(msg.content == '@renk') {
const role = msg.guild.roles.resolve('735498594135572562')
role.setColor('#0xff4908');
}});
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