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
- Host: GitHub
- URL: https://github.com/systemsoftware/openbot
- Owner: systemsoftware
- License: mit
- Created: 2022-11-11T02:28:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-11T17:39:02.000Z (over 3 years ago)
- Last Synced: 2025-08-19T18:56:13.998Z (10 months ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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)