Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/k11q/gpt-bot-discord
https://github.com/k11q/gpt-bot-discord
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/k11q/gpt-bot-discord
- Owner: k11q
- Created: 2023-04-27T22:09:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-28T02:58:55.000Z (over 1 year ago)
- Last Synced: 2024-08-02T23:24:42.670Z (3 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord Bot GPT
## Features
- [x] Memory
- [x] Token usage calculator
- [x] Custom trigger
- [ ] Memory keep alive through builds/deployment
- [ ] Web surfing## Usage
### Commands
- `!chat` is the trigger command. You can change it by changing the value of `TRIGGER` variable in `main.py`.
- `!chat total_tokens` to print total tokens used with amount spent in RM. You can change it by changing the value of `TOTAL_TOKENS_TRIGGER` variable in `main.py`.### Local development
- Create `.env` file with `DISCORD_KEY` variable(your discord bot token) and `OPENAI_KEY` variable(your openai api key).## Deploy
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/wIUjNC?referralCode=E44ptv)