Description
I hope you are all having a good day and if not, remember that at least it's friday so it can't be that bad.
Following the post from post4362917.html#p4362917 , I decided to make a Discord Bot for Terror zones with some added functionality that I hope you will all appreciate.
It's more of a Passion project, seeing if I could do something for someone else that they may need help with.
The invite link for the bot is the following: https://discord.com/oauth2/authorize?cl ... 7407664188
If anyone wants to host it themselves, just write me a message and I'll send the source code.
Long story short, after a couple of days of both working on the bot in my spare time and testing it myself, here is what it has to offer.
D2 Terror Zone Discord Bot
A Discord bot that tracks the current Diablo II Terror Zone, updates its nickname with live info, and optionally posts announcements in your server.
Features
Live Terror Zone tracking
Smart nickname formatting that respects Discord’s 32 character limit
Minimal API usage with caching and timed refresh
Optional zone change announcements
Per-server configuration
Slash command support
Built-in health diagnostics
Add the Bot
Invite the bot to your server using your invite link.
Required permissions:
Manage Nicknames
Send Messages
Embed Links
View Channels
Setup
Run the following command in the channel where you want announcements:
/setup
This will:
Set the current channel as the announcement channel
Enable nickname updates
Enable announcements
Immediately apply the current Terror Zone
Public Commands
/zone
Show current Terror Zone
/nextzone
Show next Terror Zone and when it starts
/status
Show bot status and cache information
/legend
Show abbreviations and immunity icons
/help
Show command list
Admin Commands (requires Manage Server permission)
/setup
Initialize the bot in the current channel
/setchannel #channel
Change the announcement channel
/showconfig
Display current server configuration
/enabletz
Enable all Terror Zone features
/disabletz
Disable all Terror Zone features
/nickon
Enable nickname updates
/nickoff
Disable nickname updates
/announceon
Enable announcements
/announceoff
Disable announcements
/nickimmunities on/off
Show or hide immunities in the nickname
/nicktiers on/off
Show or hide EXP/LOOT tiers in the nickname
/forcezone
Force an immediate Terror Zone refresh
/zonedebug
Show raw API data for debugging
/health
Run a full system health check
Nickname Behavior
The bot updates its nickname using:
Zone Name + Time Left + Immunities + EXP/LOOT Tier
Example:
DW/UP 18m F/C/L C/D
Formatting rules:
Always tries to show all information first
Abbreviates zone names if necessary
Removes lower priority information only if required
Uses compact separators to save space
Customization
Admins can control what appears in the nickname:
/nickimmunities off
/nicktiers off
Example result:
DW/UP 18m
Announcements
When enabled, the bot posts a message when the Terror Zone changes.
Includes:
Previous zone to current zone
Time remaining
Immunities
EXP / Loot tier
Health Check
/health
Displays:
Discord latency
Database status
API status
Cache status
Log system status
Backup availability
Background task state
Notes
Slash commands may take a short time to appear after adding the bot
Discord limits nicknames to 32 characters
The bot minimizes API usage using caching and timed updates
Troubleshooting
If something does not work:
Run:
/health
Check:
Bot has required permissions
Bot role is above other roles (for nickname changes)
I will announce any future updates in this post ( I'll move the update announcements from the old topic as well for visibility ).
I apreciate the community here and I hope it can help you in any way.
If you come across bugs or maybe even have some ideas for new functionalities, please feel free to contact me.
Have a nice weekend, and see you around the forums lads and lasses.
Can be used to make Runewords:
Advertisment
Hide ads
Greetings stranger!
You don't appear to be logged in...Who is online
Users browsing Forums:
2old2play,
Art-CannibaL,
Cracume,
DotNetDotCom.org [Bot],
Dragonhelm,
ghostpos,
Google Feedfetcher,
LoTra,
Nopk,
PetalBot [Bot],
Shakonator,
Solmyr00 and 253 guests.
Piss Vortex
10