CommandFilter
- interface CommandFilter
Runs before permission checks and argument resolution. Return
trueor undefined to continue,falseto stop silently, or a string to stop and reply.exported from
lib.weeble.dMethods
- CommandFilter.check(
- context: { commandName: string; commandPath: readonly string[]; interaction:
Interaction; kind: “slash”; reply: ; } | { commandName: string; commandPath: readonly string[]; kind: “prefix”; message:GuildMemberMessage; reply: ; } | { commandName: string; commandPath: readonly string[]; interaction:Interaction; kind: “menu”; reply: ; }