Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hmes98318/r6bot
Rainbow Six Siege stats Discord Bot
https://github.com/hmes98318/r6bot
cheeriojs discord discord-bot discord-js r6s r6siege r6stats rainbow6 rainbowsixsiege siege
Last synced: 3 months ago
JSON representation
Rainbow Six Siege stats Discord Bot
- Host: GitHub
- URL: https://github.com/hmes98318/r6bot
- Owner: hmes98318
- License: mit
- Created: 2021-01-18T13:12:00.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-16T18:45:21.000Z (over 2 years ago)
- Last Synced: 2023-03-04T19:37:18.098Z (almost 2 years ago)
- Topics: cheeriojs, discord, discord-bot, discord-js, r6s, r6siege, r6stats, rainbow6, rainbowsixsiege, siege
- Language: JavaScript
- Homepage: https://github.com/hmes98318/R6Bot
- Size: 195 KB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# R6Bot
**Rainbow Six Siege stats Discord Bot****This Bot depends on the [`r6s-stats-api`](https://github.com/hmes98318/r6s-stats-api) module to fetch statistics**
Example bot invite [`link`](https://discord.com/oauth2/authorize?client_id=968916779734806578&permissions=0&scope=bot%20applications.commands).### Reference version
[**node.js `v16.15.0`**](https://nodejs.org/en/)
[**discord.js `v14.3.0`**](https://discord.js.org/#/)### Dependencies Modules
* [**r6s-stats-api`v1.1.1`**](https://www.npmjs.com/package/r6s-stats-api)
* [**discord.js `v14.3.0`**](https://www.npmjs.com/package/discord.js)
* [**@discordjs/rest `v1.1.0`**](https://www.npmjs.com/package/@discordjs/rest)
* [**dotenv `v16.0.2`**](https://www.npmjs.com/package/dotenv)# Installation
### Clone the repository
```
git clone -b v2.1.0 https://github.com/hmes98318/R6Bot.git
```
or [**click here**](https://github.com/hmes98318/R6Bot/releases) to download### Install the depedences
auto install all dependencies on [`package.json`](./package.json)
```
npm install
```### Configure Files
[`.env`](./.env)
```env
TOKEN = "your_token"
```
[`config.json`](./config.json)
```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]
```get Casual, Rank, Unrank, Deathmatch statistics
```
+r6 [PC/XBOX/PSN] [RANK/CASUAL/UNRANK/DEATHMATCH]
```get Operators statistics
```
+r6 [PC/XBOX/PSN] operator
```get help
```
+r6 help
```