(v4.2.0) Fixed all known bugs

This commit is contained in:
DJj123dj
2026-05-15 22:00:55 +02:00
parent 15ff345948
commit cf9ddf58d0
14 changed files with 10 additions and 127 deletions
-20
View File
@@ -5,26 +5,6 @@ import * as api from "@open-discord-bots/framework/api"
import * as discord from "discord.js"
import { ODRoleUpdateMode } from "../api/role.js"
/** (CONTRIBUTOR GUIDE) HOW TO ADD NEW CONFIG VARIABLES?
* - Make the change to the config file in (./config/) and be aware of the following things:
* - The variable has a clear name and its function is obvious.
* - The variable is in the correct position/category of the config.
* - The variable contains a default placeholder to suggest the contents.
* - If there's a (./devconfig/), also modify this file.
* - Register the config in loadAllConfigs() in (./src/data/framework/configLoader.ts)
* - The variable should be added to the "formatters" in the correct position.
* - Add autocomplete for the variable in ODJsonConfig_Default... in (./src/core/api/defaults/config.ts)
* - Add the variable to the config checker in (./src/data/framework/checkerLoader.ts)
* - Make sure the variable is compatible with the Interactive Setup CLI.
* - The variable should be added by the migration manager (./src/core/startup/migration.ts) when missing.
* - Update the Open Ticket Documentation.
*
* IF VARIABLE IS FROM questions.json, options.json OR panels.json:
* - Check (./src/data/openticket/...) for loading/unloading of data.
* - Check (./src/actions/createTicket.ts) and related files.
* - Check (./src/builders), (./src/actions), (./src/data) & (./src/commands) in general in the areas that were changed.
*/
/**## ODConfigManagerIdMappings `interface`
* A list of all available IDs in the default `ODConfigManager` class in `opendiscord`.
* It's used to generate typescript declarations for this class.