pip install PyCAI2 discord
then git clone this repo
git clone https://github.com/FalcoTK/PyCAI2-Discord.git
You can see how to get the bot token here. To set up PyCAI, click here.
token_discord = "<DISCORD BOT TOKEN>"
owner_id = '<CAI TOKEN>'
char = "<CHAR ID>"
chat_id = "<CHAT ID>"
aut_set ={
"author_id": "<AUTHOR ID>",
"is_human": True,
"name": "<CAI USER NAME>"
}
python main.py