Overview
The/register command starts a secure AniList OAuth flow and links your AniList account to your Discord profile.
Use this when you first connect your AniList account, or when you want to relink to a different account.
Command syntax
What happens after you run /register
- Annie Mei creates a short-lived OAuth context.
- The bot sends an ephemeral response with a
Link AniList Accountbutton. - The button opens the auth service OAuth start route in your browser.
- After AniList authorization, Annie Mei stores your linked AniList identity.
- You can check the linked profile with
/whoami.
Usage examples
Response messages
Success
Flow start failed
What changes after linking
Once linked, Annie Mei can display your AniList status in guild lookups for media in your AniList list.Privacy and data storage
The auth service stores the following account-link data when linked:Discord User ID
Numeric Discord user ID
AniList User ID
Numeric AniList user ID
/whoami, the bot displays your AniList username if available and falls back to your numeric AniList ID.
The bot does not store:
- your Discord display name
- AniList watch/read history
- raw AniList passwords or client credentials
Unlink your AniList account
Use/unregister when you want to remove your AniList account link from Annie Mei. See the /unregister documentation for confirmation options and details on what data is deleted.
Troubleshooting
Guild media output does not include my status
Guild media output does not include my status
Possible causes
- Registration has not finished successfully
- The media is not in your AniList list
- Your AniList profile privacy settings block visibility
- Run
/registerand complete the OAuth flow again - Verify privacy settings in AniList
My secure link expired or failed
My secure link expired or failed
Possible causes
- The link is time-limited (default: around 5 minutes)
- OAuth context became invalid before you finished authorization
- Run
/registeragain to generate a new link
I want to unlink my AniList account
I want to unlink my AniList account
Run
/unregister confirmation:Confirm unlink in Discord.Source code reference
Implementation:src/commands/register/command.rs
register() defines the slash command and run() creates the OAuth link using AUTH_SERVICE_BASE_URL.
The AniList browser flow is completed by the separate auth service described in Auth service.