I need HELP !
Opened this issue · 1 comments
AnDiChAnNeL commented
TheRealKasumi commented
A friend of mine had exactly the same problem. I fixed the code, added some improvements and opened a PR.
Basically the Discord JS lib has changed so that the get
and find
functions are not available like this anymore. Instead you can do it like this:
client.guilds.cache.get(servers[index]).roles.cache.find(r => r.name === config.roleName).setColor(rainbow[place]).catch(console.error);
So by simply replacing the line 29 by this code, it should work.
Greetings
Kunoichi of destiny😋