some docs

This commit is contained in:
jacoobes
2022-02-06 23:47:33 -06:00
parent 0f34970c26
commit df80ba3c90

View File

@@ -138,6 +138,11 @@ export namespace Sern {
delegate : ( eventParams : Context , args: Ok<T> ) => Awaitable<Result<possibleOutput, string > | void>
parse? : (ctx: Context, args: ParseType<Arg> ) => Utils.ArgType<T>
}
/**
* Text = 1
* Slash = 2
* If a command is both, ( 1 | 2 ), enum value is 3
*/
export enum CommandType {
TEXT = 1,
SLASH = 2,