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
Annie Mei stores the following data when linked:Discord User ID
Numeric Discord user ID
AniList User ID
Numeric AniList user ID
AniList Username
Current public AniList username
- your Discord display name
- AniList watch/read history
- raw AniList passwords or client credentials
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
The bot has no
/unregister command. Contact your bot administrator to remove stored link data.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.