Activity Types, Serbian Translation, Verify Command Customization & Embeds & More...#538
Open
MotikaCraft-TheJoshua wants to merge 8 commits intoNamelessMC:5from
Open
Activity Types, Serbian Translation, Verify Command Customization & Embeds & More...#538MotikaCraft-TheJoshua wants to merge 8 commits intoNamelessMC:5from
MotikaCraft-TheJoshua wants to merge 8 commits intoNamelessMC:5from
Conversation
- Add support for CUSTOM activity type (custom status message) - Add support for STREAMING activity type with optional BOT_ACTIVITY_URL - Update README.md with comprehensive activity configuration documentation - Include examples for all 6 supported activity types - Add fallback to default Twitch URL if STREAMING selected without URL
- Change ENV declarations from legacy 'ENV key value' to 'ENV key=value' - Fixes 3 Docker build warnings about LegacyKeyValueFormat - No functional changes, purely formatting improvement
- Add sr_RS.json with Serbian translations (Latin script) - Language is controlled by NamelessMC website settings - All translations complete, JSON structure matches en_UK.json - Build passing
…ection - Allow /verify command name to be customized via VERIFY_COMMAND_NAME env variable - Falls back to 'verify' if not set - Fix: Check if Discord user is already linked before attempting verification - Pre-check uses api.userByDiscordId() to detect existing links - Update all docker-compose files with VERIFY_COMMAND_NAME (commented by default) - Build and tests passing
…nslations - Added missing description keys to 15 language files - All 31 language files now have all 10 command description keys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
General
STREAMINGandCUSTOMactivity typesBOT_ACTIVITY_URLenvironment variable for streaming activities (with fallback to default Twitch URL)=between key and value)Environment Variables
New options for
BOT_ACTIVITY_TYPE:STREAMING- Shows streaming status with purple "LIVE" indicator (requiresBOT_ACTIVITY_URL)CUSTOM- Shows custom status messageSerbian translation
sr_RS.jsonwith complete Serbian (Latin script) translations/verifycommand customizationVERIFY_COMMAND_NAMEenvironment variable to rename the/verifyslash commandverifyif not set"already-linked" detection in
/verifyapi.userByDiscordId()as a pre-check; if already linked, user getsverify_already_linkedresponse immediatelyEmbeds
SendDirectMessage, error responses)EmbedUtil.javautility class with bot avatar and display name in the footer (dynamic, not hardcoded)deferReply(true)in CommandListener)/configureremain as plain text code blocks intentionallyCommand Descriptions
Language.Term.*_DESCRIPTIONenum termsAll this was thoroughly tested.
From what I've tested (building/compiling, docker deploying, running), everything works correct.
Note: Newly added translation entries (messages and command descriptions) across all language files were machine-translated using Google Translate/AI. Native speakers are encouraged to submit corrections.