Skip to content

Account switch when auth already exists + slash command modernization#44

Merged
johnvictorfs merged 3 commits into
masterfrom
feat/allow-account-switch-on-auth
Mar 3, 2026
Merged

Account switch when auth already exists + slash command modernization#44
johnvictorfs merged 3 commits into
masterfrom
feat/allow-account-switch-on-auth

Conversation

@johnvictorfs

Copy link
Copy Markdown
Owner

No description provided.

johnvictorfs and others added 3 commits March 2, 2026 20:39
…scord account

Instead of blocking with a message to DM the bot owner, let the user proceed
through authentication with extra world hops (+3 for pt, +2 for other languages).
On success, the old Discord account's membership is disabled automatically.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace reaction-based confirmations and wait_for message collection with
discord.py UI components: a Modal for ingame name input (slash command path)
and button Views for the ready confirmation and each world-hop step.
Prefix command path keeps the existing text-based fallback.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- authentication.py: wrap long log string to stay under 120 chars (E501)
- admin.py: expand single-line @app_commands.command decorator (E501)
- teams.py: replace type() == comparison with isinstance() (E721)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@johnvictorfs
johnvictorfs merged commit 2fd77b5 into master Mar 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant