FalcoTK / PyCAI2-Discord

here is an example of using PyCAI2 for a discord bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

here is an example of using PyCAI2 for a discord bot

License:MIT License


Languages

Language:Python 100.0%