DiscordBot v1.2 Release Notes Version 1.2 introduces a fully externalized localization system, on-the-fly Python scripting for new slash-commands, improved link codes and bot presence configuration, plus a host of UX and stability enhancements.
✨ New Features 1. Six-Digit Link Codes
Generates secure 6-digit linking codes.
Configurable expiry in config.yml (link.code_expiry_minutes, default 10 min).
2. Externalized Messages (messages.properties)
All bot–player messages (errors, confirmations, tooltips) moved into a messages.properties file.
Plugin copies a default messages.properties into its data folder on first run.
You can now translate or tweak every line without recompiling!
Built-in fallback: missing keys show &c[!key!] in red, so you’ll spot untranslated entries instantly.
3. Configurable Bot Presence
Status (ONLINE, IDLE, DND…) taken from bot_status in config.yml.
Activity (“Playing …”) taken from bot_activity in config.yml.
No more hard-coded “Playing …”—customize it at will.
4. Python Script-Driven Slash Commands
Drop any .py into plugins/DiscordBot/scripts/ and it’s auto-loaded on startup.
Each script declares its own commands list (name, description, options).
Implements onSlashCommandInteraction(event) in pure Python (via Jython).