Skip to main content

Overview

The /whoami command shows which AniList account is currently linked to your Discord profile.

Command syntax

/whoami
No parameters are required.

Response messages

Linked account
Your linked AniList account is **AnimeName**.
Profile: <https://anilist.co/user/AnimeName>
You see the username and profile URL that was stored when you completed /register.
Not linked yet
You have not linked an AniList account yet. Run `/register` first.
/register starts the OAuth flow that stores your AniList account.
Lookup error
I hit an internal error while looking up your AniList account. Please try again later.
This message appears if the bot cannot query user data at that moment.

Example usage

/whoami
Use it to verify that /register completed and stored your account for guild-aware lookups.

Source code reference

Implementation: src/commands/whoami.rs:29 whoami() defines the slash command, and handle_whoami() builds the response.
If /whoami returns the default message, run /register again and complete the OAuth flow.