Skip to main content

A discord bot that reports PUBG match stats to a discord server

Project description


A Python-based Discord bot that tracks users from a given server in PUBG to automatically send their post-match stats to a pre-specified Discord channel.


  • Python 3.5.3 or higher is required
  • PUBG API Key
  • Discord API key
  • Discord server & channel IDs
    • The channel IDs are going to be used by the bot to
      1. Register new users
      2. Send reports for solo, duo and squad PUBG rounds
    • To acquire an ID for a given channel, please enabled developer mode in your Discord user settings, then simply right click a channel and there will be an option to copy ID


OS X & Linux:

$ python3 -m pip install -U pubg-reports


$ py -3 -m pip install -U pubg-reports


To configure the tokens that are required to run the bot

$ bot-config-tokens

To configure the Discord channels that are required for the bot to send reports at

$ bot-config-channels

To configure the tokens and channels in one go

$ bot-config-all

Running the bot

To run the bot, simply do

$ bot-run


  • To use the bot, a user must register by typing !reg PUBG-IGN [Case sensitive]

  • To check all the registered users within the server, type !users

  • After a PUBG round ends, a user can get the top 3 players kill-wise in that round by typing !top3

Example Match Report

  • This is how a post match report looks like

Known Issues

  • A round of PUBG will not get reported for one of the teams if team A is playing against team B and they are both on the same Discord server.
  • The bot supports up to one Discord server. There are plans to expand the capabilities of the bot to support multi servers.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pubg-reports, version
Filename, size File type Python version Upload date Hashes
Filename, size pubg_reports- (19.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pubg-reports- (15.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page