This is a bot that scrapes d2runewizard's API and offers the following functionalities on Discord:
Click here to add D2 Terror Zone bot to your Discord server!
You may also download the code, alter it in any fashion and run the bot on your own computer.
- Create a Discord Application, enable a bot account and create its authentication token.
- Set your Discord token as the
DISCORD_TOKEN
environment variable by runningexport DISCORD_TOKEN=YOUR_TOKEN_HERE
. - Ask for your D2RuneWizard API token and set it as the
D2RUNEWIZARD_TOKEN
environment variable. - Download and run the bot by executing the following:
git clone https://github.com/fredericojordan/d2terror.git cd d2terror python d2terror_discord.py
- Generate an invite link and add the bot to your Discord server.