Added new config checker utility function

createTemporaryCheckerEnvironment() is able to help you with using `ODCheckerStructure` validators without officially registering them in opendiscord.checkers.
This commit is contained in:
DJj123dj
2025-06-11 21:10:29 +02:00
parent b683365126
commit 72627a7058
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ export const loadAllPlugins = async () => {
}
})
//sorted plugins (based on priority)
//sorted plugins (sorted on priority. All plugins are loaded & enabled)
const sortedPlugins = opendiscord.plugins.getAll().sort((a,b) => {
return (b.priority - a.priority)
})