Overview
The/whoami command shows which AniList account is currently linked to your Discord profile.
Command syntax
Response messages
Linked account
When your AniList account has a username:When the username is not yet populated (older linked accounts):
/whoami prefers your AniList username when available and falls back to your numeric AniList ID.Not linked yet
/register starts the OAuth flow that stores your AniList account.Lookup error
Example usage
/register completed and stored your account for guild-aware lookups.
Source code reference
Implementation:src/commands/whoami.rs:23
register() defines the slash command, and handle_whoami() builds the response from OAuthCredential, preferring anilist_username and falling back to anilist_id for older credential rows.
