qbot
qbot copied to clipboard
Multigroup changes
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.
PR not ready, forgot info.ts was disabled until it was updated, and Info embed needs fixed.