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

@@ -16,7 +16,7 @@
* //your code here
* }
* })
* ```
* ```
* @end
*/
import { CommandType, CommandControlPlugin, controller } from "@sern/handler";
@@ -30,7 +30,7 @@ export function disable(
onFail?:
| string
| Omit<InteractionReplyOptions, "fetchReply">
| ReplyMessageOptions
| ReplyMessageOptions,
) {
return CommandControlPlugin<CommandType.Both>(async (ctx, [args]) => {
if (onFail !== undefined) {