A Discord bot for reporting DClone Tracker progress changes and upcoming planned walks for Diablo 2: Resurrected. By default it will report any progress changes at or above level 3 for All Regions, Ladder and Non-Ladder, Softcore and planned walks an hour before they start.
You can also get the current progress for tracked regions and planned walks by typing .dclone
or !dclone
in chat.
Requires Python 3.6+, tested on Ubuntu 20.04.
git clone https://github.com/Synse/dclone-discord.git
cd dclone-discord
pip3 install -r requirements.txt
Configuration is done via environment variables, or you can edit the variables near the top of the script (not recommended).
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. Request one here.DCLONE_D2RW_CONTACT
(Highly Recommended): The email address for your d2runewizard.com account, required if you want planned walk information.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 dclone_discord.py
.
Data courtesy of diablo2.io and d2runewizard.com.