chore: update JavaScript plugins

This commit is contained in:
EvolutionX-10
2023-09-01 16:52:00 +00:00
committed by GitHub
parent 63253dce8f
commit ecaad4b162
27 changed files with 1253 additions and 610 deletions

View File

@@ -1,6 +1,7 @@
//@ts-nocheck
/**
* @plugin
* This plugin checks the fields of a ModalSubmitInteraction
* with regex or a custom callback
*
@@ -26,6 +27,7 @@
* }
* })
* ```
* @plugin
*/
import { CommandControlPlugin, controller } from "@sern/handler";
export function assertFields(config) {
@@ -46,7 +48,7 @@ export function assertFields(config) {
errors.push(
input +
" failed to pass assertion " +
resolvedAssertion.toString()
resolvedAssertion.toString(),
);
}
}