Discord selfbot chatbot fully written in nodejs, powered by c.ai.
if you want to use Guest login Instead of token login, set the loginType in config.json to the string "Guest" instead of "Token"
To run this you will need nodejs of course and these modules: discord.js-selfbot-v13, axios, jimp, puppeteer-extra, uuid, puppeteer-extra-plugin-stealth so run
npm i discord.js-selfbot-v13@latest && npm i axios@latest && npm i jimp@latest && npm i puppeteer-extra@latest && npm i uuid@latest && npm i puppeteer-extra-plugin-stealth@latest
in your terminal.
I did not make the node_characterai module; full credits go to owner.
You can find the original module on this link, even though I didn't really modify anything.
!!! THIS BOT WILL NOT WORK RIGHT OUT OF THE BOX; EDIT STUFF IN CONFIG.JSON SUCH AS CHARACTERID, CHARACTERAITOKEN, DISCORDTOKEN AND THE CHANNELID !!!
To use the token login you have to do a few things To get your token, you can open your browser, go to the Character.AI website in localStorage.
To do so:
Open the Character.AI website in your browser (https://beta.character.ai) Open the developer tools (F12, Ctrl+J, or Cmd+J) Go to the Application tab Go to the Storage section and click on Local Storage Look for the @@auth0spajs@@::dyD3gE281MqgISG7FuIXYhL2WEknqZzv::https://auth0.character.ai/::openid profile email offline_access key Open the body with the arrows and copy the access token
Finding your character's ID
You can find your character ID in the URL of a Character's chat page.
For example, if you go to the chat page of the character Test Character you will see the URL https://beta.character.ai/chat?char=8_1NyR8w1dOXmI1uWaieQcd147hecbdIK7CeEAIrdJw.
The last part of the URL is the character ID:
!!! SEE IMAGES DOESN'T WORK AS OF RIGHT NOW !!!
ALSO A REMINDER; DO NOT USE THIS ON YOUR MAIN ACCOUNT; THIS IS A SELFBOT; SELFBOTS ARE AGAINST TOS!!!!

