Skip to content

SaturnusDJ/pubg.report-discord-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PUBG.report Discord Bot

This is forked from https://github.com/kragebein/pubg.reportbot. I applied fixes found online and provided by contributors in issues and comments. Besides, I will try to do some modifications to improve on the great work done by Kragebein. I am just starting with Python so this might go wrong haha. I do my best in testing before committing.

A bot that will announce your kill/you being killed in pubg to your discord channel with video from your enemies point of view via their Twitchstream.

Version update

Version 1.2: some bugfixes after pubg has changed their API.

How to download:

git clone https://github.com/kragebein/pubg.reportbot.git

or

click here: https://github.com/kragebein/pubg.reportbot/archive/master.zip

Setup:

pip3 install -f requirements.txt

To run the bot you need the following:

In the file pubgbot.py you will find these settings:

bot_token = '' # Api key

webhook_uri = '' #Webhook URL

check_time = 10 # How often the bot will check for updates, in minutes (no less than ten minutes or you'll be banned from pubg.report)

Please update them accordingly.

Please make sure to have check_time above 10. Setting it to below 10 minutes will result in a ban from pubg.report

To start the bot:

python3.6 pubgbot.py

Bot is still under development, further debugging and testing is necessary.

Also, after the first time you register, the bot will announce -all- clips up to this date, after the first loop, it will only announce the latest clip. Can be expedited by using :

!test playername

Updated!

1.1 now includes some statistics collected from pubg's api about whoever was killed.

Example Example

Just note: The match must be ended before the clips will show up. Even if you are the first to die, the clips will not be available until the game has had its Chicken Dinner.

About

PUBG.report Discord Bot

Resources

Stars

Watchers

Forks

Languages

  • Python 100.0%