Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
API
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Standard-Js dependencies Status devDependencies Status GitHub license

ForTheBadge Invite_Tron

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.