mirror of
https://github.com/sern-handler/handler
synced 2026-06-19 22:32:14 +00:00
some docs
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user