Skip to content

Latest commit

 

History

History
executable file
·
51 lines (35 loc) · 1.17 KB

README.md

File metadata and controls

executable file
·
51 lines (35 loc) · 1.17 KB

this is writerbot, a bot for use in ai stuff

Example/Discord/Help

You can test and use the current version here

Installation

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

Config File

place in ./config/config.json

{
    "token": "xxx", // Discord bot token
    "apikey": "sk-xxx", // gpt3 api key
    "adminChannel" : "xxx" // Channel ID of debug/admin channel
}

Usage

ts-node ./index.ts

to deploy/delete/view application commands,

use

ts-node ./commands/createSlashCommands.ts

For local debugging, set offline.json to true, and set the admin channel id in the code.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Roadmap

add stability.ai and other models.

Support

Patreon

License

MIT