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 install
place 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.ts
use
ts-node ./commands/createSlashCommands.ts
For 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.