This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
How to set up
drizzle-mizzle edited this page Feb 20, 2023
·
26 revisions
-
Download Last Release
-
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 allPrivileged Gateway Intents
switchers)
- (don't forget to give it all
-
Get your bot token and place it in
Config.json
file. -
Create CharacterAI account if you don't have one.
-
Sign in, open DevTools (<Ctrl+Shift+J> in Chrome), find "Network" page and go to the "Fetch/XHR" section.
-
Reload the page (DevTools should remain open).
-
Now you should see a list of requests. Locate "auth0/" and open it's Response/Preview page.
-
That's your accout auth token.
-
Copy it's value and place in
char_ai_user_token
field inConfig.json
file. -
Launch the bot:
-
Windows:
- Simply run CharacterAI_Discord_Bot.exe
-
Linux
- Execute
chmod 777 ./CharacterAI_Discord_Bot
- Run
./CharacterAI_Discord_Bot
- Execute
- Set character:
-
With an embedded search:
- Run command
find <query>
and select a character
- Run command
-
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=...').
- Run bot command
set <id>
12. Enjoy converstaion!