[codex] add giveaways and user management#123
Open
Mandalorec95 wants to merge 7 commits into
Open
Conversation
When a user with an active subscription clicks "Продлить" but their current plan has been discontinued, instead of showing a dead-end error the bot now notifies them that the plan is gone and opens the available plans list so they can pick a replacement. The RENEW purchase type is preserved, so the existing subscription is extended (not replaced) with whichever plan they choose. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds a new informational blockquote block below the subscription section in the main menu, instructing users how to connect via the Happ app. Text is stored in the ru FTL translations under msg-main-menu-how-to-connect. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
|
ВСЕ ГОТОВО |
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.
What changed
Why
These changes extend the bot with promotional giveaway workflows and safer administrative user-management capabilities while keeping related payment and promocode behavior consistent.
Impact
Administrators can run giveaways and manage user deletion from the Telegram dashboard. Users receive the related participation and notification flows. Database migrations add the required giveaway data and anonymization behavior.
Validation
srcgit diff --checkpassed