It's just a Node bot using Discord.js, recently updated to its v9 API, with slash commands. Its installation process is simple, download and install its dependencies.
yarn installplace in ./config/config.json
{
"token": "xxx", // Discord bot token
"apikey": "sk-xxx", // gpt3 api key
"adminChannel" : "xxx" // Channel ID of debug/admin channel
}ts-node ./index.tsuse
ts-node ./commands/createSlashCommands.tsFor local debugging, set offline.json to true, and set the admin channel id in the code.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
add stability.ai and other models.