A discord chat bot developed to make socializing a bit more enjoyable on our servers.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
cmds
data
images/test
util
.gitignore
.travis.yml
LICENSE
README.md
Tron.js
package.json
pm2.config.js

README.md

Build Status Standard-Js dependencies Status devDependencies Status GitHub license

ForTheBadge Invite_Tron

Greenkeeper badge

Tron

Purpose

Tron is a bot that is primarily used with Discord. It has a number of commands that make chatting a bit more enjoyable. Such as +hug, +kiss, +kick, +lick, and much more that are listed in the help command.

Tron is built using the Discord.js Commando library which greatly improves upon the previously used Eris library. Mostly because it comes with a lot of built in tools to help make Tron more versatile, whereas Eris is lightweight and requires you to expand on it.

Installation

While Tron is mostly developed without other people installing it in mind, you shouldn't have too much trouble running your own instance if your heart desires. There are a few things to consider before cloning the repo, running npm i -y; npm start, and hoping for the best:

  1. Set the environment variable for the Discord Token (DISCORD_KEY).

    • I use a config.json combined with pm2.config.js in order to use pm2 effectively for separate builds of Tron.
    • You can refer to the sample config.json for further help.
  2. If on Windows, refer to this guide available on the node-canvas repo, before installing all of the dependencies.

  3. After completing the above, attempt to run npm i and if it installs everything successfully, try npm start, which will run Tron in the development/beta environment.

    • If you want to run the production version, simply use npm run start-prod.