Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 681 Bytes

README.md

File metadata and controls

33 lines (27 loc) · 681 Bytes

THIS IS EXAMPLE OF USING PYCAI2 FOR A BOT DISCORD

Instalation

pip install PyCAI2 discord

then git clone this repo

git clone https://github.com/FalcoTK/PyCAI2-Discord.git

settings

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>"
}

RUN

python main.py