(btw i’m not experienced at all in this) Hey, i was just trying to make a discord bot for a server! If anyone could send a Code that mutes a user for a certain time? Btw i use Atom js if that’s important.
The only thing i have are the basics:
const Discord = require(‘discord.js’);
const client = new Discord.Client();
client.on(‘ready’, () => {
console.log(Logged in as ${client.user.tag}!
);
});
client.on(‘message’, msg => {
if (msg.content === ‘$help’) {
msg.reply(‘jus chii out foo’);
}
});
client.login(‘spooky token’);
In the future i’d like to have a ban, mute/tempmute.
Thanks for anyone trying to help me!