How to make a mute command
h
Corasite (2)

Mute command

At fist, mute commands can be hard. But here is a basic mute command you can make to help moderate your Discord server.

Now I'm not going to tell you the full code but here is some tips that can help you:

Tip one: user.roles.set(mute ID here)

Tip Two: var user=message.mentions.members.first() ? message.mentions.members.first() : message.guild.members.cache.get(args[0])
if(!user) return message.reply("Please provide a valid user.")

That's it for today. I hope I helped you!

You are viewing a single comment. View All