/histastic-bot

Discord Bot designed for the Hitastic esport team

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

R6Stats Discord Bot

This bot is built with discordjs to retrieve and display Rainbow Six: Siege stats from R6Stats

Installation

First-time run installation

Install Yarn

Go to yarn download page and choose the platform that fits your needs, for example Windows.

Run Yarn in the project

Go into the folder where you placed the bot using a command-line tool and run (freshly opened after installing yarn)

yarn

Setup the config

Go to config.js replace base_url with the API endpoint of r6stats

Go to .env replace login with your uplay email adress replace password with your uplay password replace token with your discord bot token, if you do not have one, create one here

Running in Production

yarn start

Development & Testing

yarn run dev

Debugging

If you run into an error that says

The term 'yarn' is not recognized as the name of a cmdlet, function, script file, or operable program.

Check your PATH system enviroment variables. Make sure you closed all the command-lines.

If the error still accures, restart your device, it should work after.