From df80ba3c90b5413ee617066d7bec10128156cb1f Mon Sep 17 00:00:00 2001 From: jacoobes Date: Sun, 6 Feb 2022 23:47:33 -0600 Subject: [PATCH] some docs --- src/handler/sern.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/handler/sern.ts b/src/handler/sern.ts index db73e64..dc53719 100644 --- a/src/handler/sern.ts +++ b/src/handler/sern.ts @@ -138,6 +138,11 @@ export namespace Sern { delegate : ( eventParams : Context , args: Ok ) => Awaitable | void> parse? : (ctx: Context, args: ParseType ) => Utils.ArgType } + /** + * Text = 1 + * Slash = 2 + * If a command is both, ( 1 | 2 ), enum value is 3 + */ export enum CommandType { TEXT = 1, SLASH = 2,