Error with mute command

Hello everyone, I have this error in my mute command … can someone help me?
if (message.content.includes(“”) || message.content.includes(“”)) {“725104931400319098”)

With that, the following error happens
UnhandledPromiseRejectionWarning: TypeError: Cannot read property ‘add’ of undefined

Hello, is a user object, what it means is that, it classifies it under a discord user instead of a discord member object, therefore you cannot add role to a discord user. What you should so is

message.member instead of

Let me know if it works.


OwO Thank you! Solved it here!