A chat bot for Discord app based off discord.js
.
Soon.
Write !help
to the chat to get a full list of available commands.
What things you need to install the software and how to install them.
Permission | Reason |
---|---|
Read Messages | Detect the commands |
Send messages | Respond to commands |
Manage Messages | Can delete or edit messages |
View Channel | |
Connect | |
Speak | |
Mention @everyone, @here, and All Roles | |
Kick members | Kick innactive members |
Ban members | For fun |
Connect to discord (currently unnavailable)
const Discord = require('discord.js');
const client = new Discord.Client();
client.on('ready', () => {
console.log('Carrot is online!');
});
client.on('message', msg => {
if (msg.content === 'ping') {
msg.reply('pong');
}
});
client.login('token');
If you want to make your own discord bot, I recommend you these sites:
- Discord.js
- Basic documentation
- Github - Official discord.js Github
- Built using Node.js
- Discord API - join the chat