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:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user