Skip to content

Multigroup changes#148

Open
vq9o wants to merge 48 commits intoLengoLabs:multigroupfrom
vq9o:multigroup
Open

Multigroup changes#148
vq9o wants to merge 48 commits intoLengoLabs:multigroupfrom
vq9o:multigroup

Conversation

@vq9o
Copy link
Copy Markdown

@vq9o vq9o commented Mar 28, 2024

Changes

  • Styling changes for the config.
  • Due to new config structure, certain commands have been re-worked for group argument to be required.
  • /setrank works now for multigroup roles arg.
  • /roles works for multigroup.
  • api.ts works for multigroup. queryString param "groupId" is required to be passed on certain API endpoints which touch a group. Example: promote, xp, etc.
  • Attempting to run XP commands while it's disabled, returns a Embed saying the XP system is disabled.
  • Additional type interfaces for config.

I rewritten how groups work within config file with some changes stated above. Full multigroup support works so far, Please read config.ts for a understanding of the structure. Everything has been tested, execept the XP & Suspension systems.

Caution

In this new version of qbot, previous data of XP & suspensions will be lost due to new DB structure for multigroup.

@vq9o
Copy link
Copy Markdown
Author

vq9o commented Mar 30, 2024

PR not ready, forgot info.ts was disabled until it was updated, and Info embed needs fixed.

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