/siege-stats-bot

Discord bot to track statistics of players in Tom Clancy's Rainbow Six Siege :robot: :page_facing_up:

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Siege Stats Discord Bot

License: GPL-3.0 Release

Discord bot to track statistics of players in Tom Clancy's Rainbow Six Siege 🤖 📄

Demo Screenshot

Usage 💿

To add the Discord bot into your server, you first need administrator priviledges for the server. If you have administrator priviledges, you can simply navigate here to add the bot 🎉

📄 Commands

The bot only reads messages starting with !ss, followed by a valid command and any extra arguments. The following are valid commands:

Command Example Description
help !ss help Displays the currently available commands.
general <playerName> !ss general chappies.NZA Displays the general statistics for the given playerName.
ranked <playerName> !ss ranked chappies.NZA Displays the overall ranked statistics for the given playerName.
casual <playerName> !ss casual chappies.NZA Displays the overall casual statistics for the given playerName.
seasonal <matchType> <playerName> !ss seasonal ranked chappies.NZA Displays the current seasonal statistics of matchType for the given playerName.

Cloning 👽

To build the project yourself, you need to type the following into your terminal:

# clone repository
git clone https://github.com/chapmankyle/siege-stats-bot.git

# navigate to repository
cd siege-stats-bot

An environment variable file, called .env, is needed in order to run the bot. The following variables need to be declared:

  • TOKEN - Your discord authentication token.
  • UBI_AUTH - Your email address and password, in the form email:password, encoded as a base64 string.

Now all you need to type is

# run the bot locally
node index.js

and the Discord bot should be up and running! 🎉

Contributing 🥳

Feel free to contribute to make this bot better! The steps to contribute are as follows:

  1. Fork this repository
  2. Make the relevant changes and/or add the features you would like
  3. Submit a pull request
  4. I will review the changes

Any contributions are greatly appreciated! 😄