Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hmes98318/R6Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

175 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R6Bot

Rainbow Six Siege stats Discord Bot

This Bot depends on the r6s-stats-api module to fetch statistics
Example bot invite link.

Reference version

node.js v16.15.0
discord.js v14.3.0

Dependencies Modules

Installation

Clone the repository

git clone -b v2.1.0 https://github.com/hmes98318/R6Bot.git

or click here to download

Install the depedences

auto install all dependencies on package.json

npm install

Configure Files

.env

TOKEN = "your_token"

config.json

{
    "name": "R6Bot",
    "PREFIX": "+",
    "COLOR":"#ff00ee",
    "ENABLE_DEFAULT_PLATFORM": true,
    "DEFAULT_PLATFORM": "pc",
    "SLASH_COMMANDS":true,
    "GUILD_ID":"your_GUILD_ID",
    "LOAD_SLASH_GLOBAL": false
}

Setting the "DEFAULT_PLATFORM" allows you to omit that platform in the command part
If LOAD_SLASH_GLOBAL is false only valid in that Guild, otherwise that will valid in all Guild.

Running the script

node index.js

Commands

get profile

+r6 [PC/XBOX/PSN] <PLAYER_NAME>

get Casual, Rank, Unrank, Deathmatch statistics

+r6 [PC/XBOX/PSN] <PLAYER_NAME> [RANK/CASUAL/UNRANK/DEATHMATCH]

get Operators statistics

+r6 [PC/XBOX/PSN] <PLAYER_NAME> operator <OPERATOR_NAME>

get help

+r6 help