qbot icon indicating copy to clipboard operation
qbot copied to clipboard

Multigroup changes

Open vq9o opened this issue 11 months ago • 1 comments

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 avatar Mar 28 '24 06:03 vq9o

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

vq9o avatar Mar 30 '24 16:03 vq9o