-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,65 @@ | ||
# r6.tracker Discord Bot | ||
This is Rainbow Six Siege stats by Discord Bot | ||
use website : https://r6.tracker.network/ | ||
use website : https://r6.tracker.network | ||
|
||
### Reference version | ||
**node.js `v16.8.0`** | ||
**discord.js `v12.5.1`** | ||
|
||
|
||
|
||
# Installation | ||
|
||
node.js version 12 at least | ||
discord.js version 12 | ||
### Clone the repository | ||
``` | ||
git clone https://github.com/hmes98318/r6.tracker-bot.git | ||
``` | ||
|
||
### Install the package | ||
``` | ||
npm install discord.js@12.5.1 request cheerio | ||
``` | ||
|
||
### Modify `config.json` | ||
```json | ||
{ | ||
"token": "yourToken", | ||
"prefix": "+", | ||
"name": "r6.tracker-bot" | ||
} | ||
``` | ||
|
||
# Running the script | ||
|
||
``` | ||
node bot.js | ||
``` | ||
|
||
# Command | ||
|
||
get profile | ||
``` | ||
+r6 [PLAYER_NAME] | ||
``` | ||
|
||
get Rank or Casual statistics | ||
``` | ||
+r6 [PLAYER_NAME] [RANK/CASUAL] | ||
``` | ||
|
||
get operator statistics | ||
``` | ||
+r6 [PLAYER_NAME] operator [OPERATOR_NAME] | ||
``` | ||
|
||
get help | ||
``` | ||
+r6 help | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
|