Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.1 #1

Closed
wants to merge 18 commits into from
Closed

Version 1.1 #1

wants to merge 18 commits into from

Conversation

akippnn
Copy link
Owner

@akippnn akippnn commented Mar 17, 2023

Additions:

  • Docker Compose
  • Tokenizer Interface
  • Semaphores

Changes:

  • SQLite3 to MongoDB
  • NPM scripts should use Docker

akippnn and others added 18 commits March 13, 2023 13:05
- A database
- Set channel where the bot can be active with /setactive
- Easier to add or change commands or events when needed
- Deploy commands with "npm run deploy"
- Make sure to check config.json

Some more changes prior to the bot update:
- Tree structure changes
- Use Typescript
- Added commands support
- Used config.json instead of config.ts
- Added time to the conversations
- Trying to await generateReply (rationale: wait before the previous message is generated)
- Trying to fix "TypeError: Cannot read properties of undefined (reading 'channel_snowflake')
- Try to wait for generateReply to finish through await (Do not generate if GPT has not generated a reply)
- Try to fix TypeError issue in a server without an active channel set
- Docker Compose
- SQLite3 to MongoDB transition
- Tokenizer test
- Semaphores
- Fixed /setactive, allowing guilds that already have a set channel to change
- Note: Make sure to update the table manually for now
- Retry in case text generation fails (when OpenAI returns unexpected errors)
- Send a message that an error occurred if the bot still can't generate a reply
- Send message in chunks, in case the text is over 2000 characters long
Fix links
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant