Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@en3sis
Copy link
Owner

@en3sis en3sis commented Mar 3, 2023

Fix: #44
Fix: #38


IMPORTANT: Please do not create a Pull Request without creating an issue first.

Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.

🗓 Changes

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Please provide enough information so that others can review your pull request:

🧬 Details

Explain the details for making this change. What existing problem does the pull request solve?

With this update, we have transformed each functionality into a separate plugin that can be enabled or disabled on a per-guild basis. As new features are added, they will also be implemented as individual plugins. This provides greater flexibility and customization options for our users.

  • Moves from MongoDB -> Supabase:
    - All functionalities are now plugins and they can be enabled/disabled per guild basis.
    - When the bot is started, it will fetch and insert all guilds, plugins & configurations to the database.
    - New Schema for Guilds
    - New Schema for Plugins
    - New Schema for Configurations
    • Adds /ask command for chat GPT, only works with premium guilds (this concept is for know guilds where we can try a given functionality and runing with the costs) but each guild can have they own API key and use it freealy.
    • Adds /plugins command to configure the bot for each guild.
    • Moves from npm to yarn.

Checkboxes:

  • I ran npm run lint and there were no errors
  • I ran npm run format and there were no errors

@en3sis en3sis changed the title Draft: OpenAI + ChatGPT OpenAI + ChatGPT-3.5 Apr 2, 2023
@en3sis en3sis changed the title OpenAI + ChatGPT-3.5 DEV Apr 29, 2023
@en3sis en3sis added the ⚜️ ∫ enhancement New feature or request label Apr 29, 2023
@en3sis en3sis closed this May 8, 2023
@en3sis en3sis reopened this May 8, 2023
* feat: supabase, bot configuration
* feat: initial structure to handle plugins, guilds and configurations
* feat: guildAddRemove plugin
* feat: options for enable/disable specific plugin
* feat: allows setting ChatGPT key & org
* feat: unifies some plugins per category
* feat: thread plugins functionality
@en3sis en3sis self-assigned this May 8, 2023
@en3sis en3sis added this to the 2.0.0 milestone May 8, 2023
@en3sis en3sis merged commit 736db24 into main May 8, 2023
@en3sis en3sis deleted the dev branch May 8, 2023 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚜️ ∫ enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[FEATURE] Plugins structure

2 participants