Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

RocketLeagueStats Discord Bot built with Discord.JS v12 - API provided by

Notifications You must be signed in to change notification settings

Akashics/Rocket-League-Stats

Repository files navigation

Rocket-League-Stats Discord Bot

I AM NOT RESPONSIBLE AND CANNOT BE HELD LIABLE IF YOU MESS UP WITH BOTS. THIS INCLUDES BUT IS NOT LIMITED TO LOSING PRIVILEGES, GETTING KICKED OR BANNED FROM SERVERS, OR BEING BANNED.

Also, an important point is: this requires some knowledge of javascript and your operating system to be able to use. If you don't know JavaScript, you're going to have a bad time.

Rocket-League-Stats is built using the Discord.js library version 12.0.0-dev, which is installed automatically when running npm install as per the install steps below.

Requirements

  • git command line (Windows|Linux|MacOS) installed
  • node Version 8.0.0 or higher
  • a machine to host it on. Want it to be online 24/7? Use a machine that is online that long.
  • some intellectual sense If you don't intend to read the rest of this document, you shouldn't bother using this bot.
  • some knowledge of node because its up to you to figure out how things work.

Downloading

In a command prompt in your projects folder (wherever that may be) run the following:

git clone https://github.com/Kashalls/Rocket-League-Stats.git

Once finished:

  • In the folder from where you ran the git command, run cd Rocket-League-Stats and then run npm install
  • Rename config.json.example to config.json
  • Edit config.json and enter your token and other details as indicated.

Getting Setup

  1. You will need to create a Discord Bot. Follow the guide here and place your token in the config.json.
  2. Obtain a Steam Developer Key and place that also into your config.json. This step is mandatory as this allows you to lookup players using Steam as their platform.
  3. Register at RocketLeagueStats.com and get an API Key. By now, you should know where to put it.
  4. If you haven't already, change the prefix to whatever you want, the bot will automagically respond after a reboot.

KEEP YOUR SECRETS A SECRET, AND NEVER SHARE THEM WITH ANYONE

Starting the Bot

To start the bot, in the command prompt, run the following command: node bot.js

If you get an error about SQLite not being available or not building, run npm rebuild and run the bot again.

If at any point it says "cannot find module X" just run npm install X and try again.

For support join the RocketLeagueStats Discord.

This APP uses RocketLeagueStats API

About

RocketLeagueStats Discord Bot built with Discord.JS v12 - API provided by

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published