Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 886 Bytes

File metadata and controls

33 lines (27 loc) · 886 Bytes

XINE-bot

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.

Usage

Prerequisites

  1. Have Node.js installed with npm
  2. Create a new Discord application and in that application, create a bot.

Installation

  1. Clone this repository
    $ git clone https://github.com/voidweaver/XINE-bot.git
  2. Copy your bot's token and your Discord ID into a JSON file named auth.json on the root directory
    The file's content should look like:
    {
        "token": "xxxxxxxxxxxxxxxxxxxxxxxx.xxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "owner": "xxxxxxxxxxxxxxxxxx"
    }
  3. Install dependencies
    $ npm i --prod
  4. Run the bot!
    $ npm start