This is a Discord bot I made. There are not so many features packed in here. I just made it to learn some Node.js and how things work.
- Have Node.js installed with npm
- Create a new Discord application and in that application, create a bot.
- Clone this repository
$ git clone https://github.com/voidweaver/XINE-bot.git
- Copy your bot's token and your Discord ID into a JSON file named
auth.jsonon the root directory
The file's content should look like:{ "token": "xxxxxxxxxxxxxxxxxxxxxxxx.xxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxx", "owner": "xxxxxxxxxxxxxxxxxx" } - Install dependencies
$ npm i --prod
- Run the bot!
$ npm start