-
Notifications
You must be signed in to change notification settings - Fork 2
How To Install
lolMinsoo edited this page May 10, 2016
·
4 revisions
#How to allow Discrank to live on your machine
###Requirements:
Python3.5 +
Python Libraries:
discord.py: pip install git+https://github.com/Rapptz/discord.py@async
riotwatcher: pip install riotwatcher
requests: pip install requests`
-
Locate to the directory you wish to install Discrank to.
-
git clone https://github.com/jkchen2/riotapichallenge2k16 Discrank
Alternatively, download the zip and extract to directory of your choice.`
###Configurations:
1. Locate config.json (this is in the config folder.
2. Add your token and your user id (type \@<your username> to find your user ID).
(If you want multiple IDs, you can separate them with a comma.
3. You can change your command invokers accordingly.
To obtain your token:
1. Go to https://discordapp.com/developers/applications/me
2. Create your own application and convert the application into an app bot user.
3. Obtain your token and copy your token into config.json
Riot API Key:
1. Log on to https://developer.riotgames.com/ and scroll down to obtain your
own Riot API key.
2. Open discrank.py.json and copy the key into the field given.
###To Start Discrank
1. Open Terminal and navigate to your Discrank folder.
2. Type in: python start.py
*assuming the python command is linked to Python 3.5*