A Discord bot for reporting DClone Tracker progress changes, upcoming planned walks and Terror Zone info for Diablo 2: Resurrected. By default it will report any progress changes at or above level 2 for All Regions, Ladder and Non-Ladder, Softcore and planned walks an hour before they start. Also, every hour it will report on the latest Terror Zone.
You can also get a list of avalable commands by typing !help in the chatt.
Requires Python 3.6+, tested on Ubuntu 20.04 and 22.04.
git clone https://github.com/shallox/d2r-discord-bot
cd d2r-discord-bot
pip3 install -r requirements.txt
Configuration is done via environment variables, or you can edit the variables near the top of the script.
Required
DCLONE_DISCORD_TOKEN
: Token for connecting to Discord, create a bot account with the instructions here. Only theSend Messages
permission is required.DCLONE_DISCORD_CHANNEL_ID
: The channel id to send messages to.
Optional
DCLONE_D2RW_TOKEN
(Highly Recommended): Token for querying d2runewizard.com, required if you want planned walk information as well as terror zone information. Request one here.DCLONE_REGION
:1
for Americas,2
for Europe,3
for Asia, blank (Default) for All Regions.DCLONE_LADDER
:1
for Ladder,2
for Non-Ladder, blank (Default) for both.DCLONE_HC
:1
for Harcore,2
for Softcore (Default), blank for both.DCLONE_THRESHOLD
: Progress level to report at (and above). Default is 3.DCLONE_REPORTS
: Only report changes after this many reports agree on a change. Default is 3.
Start the bot with python3 d2r-discord-bot.py
.
Data courtesy of diablo2.io and d2runewizard.com.
Base code courtesy of Synse.