Answer the question
In order to leave comments, you need to log in
Can't check for a role?
I can't figure out what's wrong!
I need to do something so that if a person has a role, then coins are added to him every 2 seconds
(And if you can tell me how to do it so that if a person has several roles, then the number of coins would be more
Answer the question
In order to leave comments, you need to log in
The error says that you are trying to take a value by key from an object, but this object is jav. undefiend
if(member && member.roles.cache.find(m => m.name === "Stall"))
If you do this, the error will most likely disappear
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question