Skip to main content

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

/register
This command takes no parameters.

What happens after you run /register

  1. Annie Mei creates a short-lived OAuth context.
  2. The bot sends an ephemeral response with a Link AniList Account button.
  3. The button opens the auth service OAuth start route in your browser.
  4. After AniList authorization, Annie Mei stores your linked AniList identity.
  5. You can check the linked profile with /whoami.

Usage examples

/register
You get a private message with a button that starts the OAuth flow.

Response messages

Success
Click the button below to link your AniList account. This secure link is only for you and expires in about 5 minutes.

If the page says the link expired or failed, or if you ever need to reconnect AniList later, run `/register` again in Discord.
Includes a button labeled Link AniList Account.
OAuth flow unavailable
AniList account linking is not configured right now. Please try again later.
Required OAuth settings are missing from the bot environment.
Flow start failed
I couldn't start the AniList linking flow right now. Please try again in a moment.
Try again after a short delay.

What changes after linking

Once linked, Annie Mei can display your AniList status in guild lookups for media in your AniList list.
1

Profile data stored

Your Discord ID is stored with your AniList user ID and AniList username.
2

Guild status is enabled

/anime and /manga show member status and score for titles in your list.
3

Verify your link

Use /whoami to confirm which AniList account is currently linked.

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
The bot does not store:
  • your Discord display name
  • AniList watch/read history
  • raw AniList passwords or client credentials

Troubleshooting

Possible causes
  • Registration has not finished successfully
  • The media is not in your AniList list
  • Your AniList profile privacy settings block visibility
Fix
  • Run /register and complete the OAuth flow again
  • Verify privacy settings in AniList

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.