An open API service indexing awesome lists of open source software.

https://github.com/systemsoftware/openbot

Basic OpenAI Discord bot
https://github.com/systemsoftware/openbot

Last synced: 2 months ago
JSON representation

Basic OpenAI Discord bot

Awesome Lists containing this project

README

          

# OpenBOT
Basic OpenAI Discord bot

## Setup
### Configuration
Set your OpenAI & Discord tokens, set command name, and max tokens in `config.json`

### Start
Run `npm i`. Then run `node index.js` (or `node .`) and it will publish the command and all you have to do is run `/ai` (or whatever your command is) on Discord! Append `--nopub` to not publish command to Discord.

## Requirements
* [Node.js](https://nodejs.dev) with ES6 support
* [OpenAI](https://beta.openai.com/account/api-keys) & [Discord](https://discord.dev) token
* [JSON knowledge](https://www.w3schools.com/js/js_json_intro.asp)