(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
-10
View File
@@ -3,16 +3,6 @@ import * as discord from "discord.js"
const lang = opendiscord.languages
/** (CONTRIBUTOR GUIDE) HOW TO ADD NEW COMMANDS?
* - Register the command in loadAllSlashCommands() & loadAllTextCommands() in (./src/data/framework/commandLoader.ts)
* - Add autocomplete for the command in OD(Slash/Text)CommandManagerIds_Default in (./src/core/api/defaults/client.ts)
* - Add the command to the help menu in (./src/data/framework/helpMenuLoader.ts)
* - If required, new config variables should be added (incl. logs, dm-logs & permissions).
* - Update the Open Ticket Documentation.
* - If the command contains complex logic or can be executed from a button/dropdown, it should be placed inside an `ODAction`.
* - Check all files, test the bot carefully & try a lot of different scenario's with different settings.
*/
export async function loadAllSlashCommands(){
const commands = opendiscord.client.slashCommands
const generalConfig = opendiscord.configs.get("opendiscord:general")