team-hunting / DiscordBot-NodeJs

0 stars 1 forks source link

Basic discord bot which can listen to messages and reply.

To run this bot:

First you need to run the various steps for creating a bot on discord and adding it to your server, and your channel. Give the bot various permissions on the channel as well.

Run "npm install" in this directory. Create a config.json file in this directory in the format of:

// {
//  "token": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
// }

Get your token from the bot page on Discord.

Run by using "node index.js"