I am just getting into Discord.JS and wasn't able to find any clues on how to server mute a specific user. I was looking over some documentation but still didn't find an appropriate answer. I do know you can do this by setting roles, but that won't work since the role on the user I will be muting using the bot will have the @everyone role set so they can talk which does override my added role.
More detailed my program will be testing if the user speaks for over 30 seconds and will further mute them for 1 minute. It is made so the bot doesn't need to be in the channel to record who is talking for what amount of time, but I could change that if a server mute needs the bot to be in the same channel.
The Bot has full server privileges.