Help Me Please Discord Bots

(node: 588) DeprecationWarning: Collection # find: pass a function instead
What is the solution to this error?

You are using an old version of Discord.js, in the new version it no longer takes into account the priority and value, but now works through a filter function

(role => === "Members")

New version? do I update my version?

Try it, then tell me if the warning message still appears

Bulut discorddan Bana ulaş Yardım Edeyim sana Sap ve Öfkeli#0015