Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

How to set up

drizzle-mizzle edited this page Feb 20, 2023 · 26 revisions
  1. Download Last Release

  2. Create a new Discord application with a bot (you can easily find guide on the internet, so I won't focus on this part here).

    • (don't forget to give it all Text permissions, allow it to change nickname and enable all Privileged Gateway Intents switchers)
  3. Get your bot token and place it in Config.json file.

  4. Create CharacterAI account if you don't have one.

  5. Sign in, open DevTools (<Ctrl+Shift+J> in Chrome), find "Network" page and go to the "Fetch/XHR" section.

    image

  6. Reload the page (DevTools should remain open).

  7. Now you should see a list of requests. Locate "auth0/" and open it's Response/Preview page.

    image

  8. That's your accout auth token.

    image

  9. Copy it's value and place in char_ai_user_token field in Config.json file.

  10. Launch the bot:

  • Windows:
    • Simply run CharacterAI_Discord_Bot.exe
  • Linux
    • Execute chmod 777 ./CharacterAI_Discord_Bot
    • Run ./CharacterAI_Discord_Bot
  1. Set character:
  • With an embedded search:

    • Run command find <query> and select a character

    image

  • With a browser:

    • Open a chat with a character you want to add on your server.
    • In adress bar locate and copy character's id (it's right after '/chat?char=...').

    image

    • Run bot command set <id>

    chrome_2fdXOMDEcS

12. Enjoy converstaion!

Clone this wiki locally