https://github.com/airmime/discord-pubg-bot
📢 A smart PUBG Discord bot (no longer supported).
https://github.com/airmime/discord-pubg-bot
bot discord-bot pubg pubg-bot
Last synced: over 1 year ago
JSON representation
📢 A smart PUBG Discord bot (no longer supported).
- Host: GitHub
- URL: https://github.com/airmime/discord-pubg-bot
- Owner: Airmime
- License: mit
- Created: 2019-06-11T09:08:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-03T20:17:41.000Z (over 4 years ago)
- Last Synced: 2025-02-02T02:27:43.447Z (over 1 year ago)
- Topics: bot, discord-bot, pubg, pubg-bot
- Language: JavaScript
- Homepage:
- Size: 69.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PUBG Discord bot for game statistics (no longer supported).
A smart PUBG Discord bot, developed with nodejs, that allows you to obtain your game statistics.
## Node.js Dependencies
* [discord.js](https://www.npmjs.com/package/discord.js)
* [request](https://www.npmjs.com/package/request#promises--asyncawait)
## How to install ?
First, you have to download and install [nodejs](https://nodejs.org/en/), then, you can clone the repository :
`git clone https://github.com/Airmime/discord-pubg-bot.git`
## How to configure ?
To launch the bot, you must configure the file `libs/config/config.js` by adding your PUBG API key ([How to get my API KEY ?](https://developer.pubg.com/)). After that, you must enter your bot token ([How to create twitch bot ?](https://dev.twitch.tv/), [How to get bot token ? ](https://github.com/Chikachi/DiscordIntegration/wiki/How-to-get-a-token-and-channel-ID-for-Discord )) in the `/app.js` file.
Now, you must download the libraries, and launch your server :
`$ npm install`
`$ npm app.js start` (or use an Advanced Node.js process manager like [PM2](https://www.npmjs.com/package/pm2))
## How to use ?
When the bot is launched, you must invite it to your server, after that, you could use the following commands :
* **!pubg -help || !pubg -h** : This command details all available commands.
* **!pubg unknownPlayer steam squad-fpp** : To obtain your statistics, you must run the following command: `!pubg `. The following platforms are available: steam, psn, xbox and kakao. The following game modes are available: solo, solo-fpp, duo, duo-fpp, squad, squad-fpp.
* **!pubg -game unknownPlayer steam** : To obtain the statistics of the last game, you must run the following command: `!pubg -game `. The following platforms are available: steam, psn, xbox and kakao.