Skip to main content

Overview

The /unregister command removes your linked AniList account from Annie Mei and deletes any stored OAuth credentials and session data associated with your Discord profile.

Command syntax

Parameters

string
required
Confirm whether to unlink your AniList account
  • Confirm unlink — permanently removes the link and deletes stored OAuth data
  • Cancel — aborts the operation with no changes

Usage examples

Response messages

Your OAuth credentials and any session state were successfully removed.
Nothing to unlink. Use /register to start the linking flow.
You chose Cancel — no data was deleted.
A database or server error occurred. Retry after a short delay.

What gets deleted

When you confirm unlinking, Annie Mei deletes the following data in a single transaction:

OAuth credentials

Stored AniList OAuth tokens in the auth service

OAuth sessions

Any active or expired OAuth session state, including in-flight flows that never completed
This does not delete your AniList account or affect your AniList data. It only removes the link between your Discord identity and Annie Mei.

When to use /unregister

  • You want Annie Mei to stop showing your AniList status in server lookups
  • You are switching to a different AniList account and want to clear the old link first
  • You want to remove all stored OAuth credentials from Annie Mei services
After unregistering, you can run /register again at any time to link a new or the same AniList account.

Source code reference

Implementation: src/commands/unregister.rs:29 The register() function defines the command structure: