{ "info": { "author": "Suliman Alsarraf", "author_email": "sulimanAlsarraf@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# pubg-reports\nA 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.\n\n## Prerequisites\n* **Python 3.5.3 or higher is required**\n* **PUBG API Key**\n * [Get yours here](https://developer.pubg.com/)\n* **Discord API key**\n * A Discord application needs to be created in order to create a bot, [you can create a new Discord application here](https://discordapp.com/developers/applications)\n * There are two keys for Discord, please disregard the client key and use the bot key\n * [A useful guide on how to create a bot](https://discordpy.readthedocs.io/en/latest/discord.html#discord-intro)\n* **Discord server & channel IDs**\n * The channel IDs are going to be used by the bot to\n 1. Register new users\n 2. Send reports for solo, duo and squad PUBG rounds\n * 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**\n\n## Installation\nOS X & Linux:\n```sh\n$ python3 -m pip install -U pubg-reports\n```\nWindows:\n```sh\n$ py -3 -m pip install -U pubg-reports\n```\n\n## Configuration\nTo configure the **tokens** that are __required to run the bot__\n```sh\n$ bot-config-tokens\n```\nTo configure the **Discord channels** that are __required for the bot to send reports at__\n```sh\n$ bot-config-channels\n```\nTo configure the tokens and channels in one go\n```sh\n$ bot-config-all\n```\n## Running the bot\nTo run the bot, simply do\n```sh\n$ bot-run\n```\n## Usage\n* To use the bot, a user must register by typing **!reg PUBG-IGN** [Case sensitive]\n\n
\n
\n
\n
\n
\n
\n
\n
\n