feat: add runMessage into Command

This commit is contained in:
Jozef Steinhübl 2023-08-24 07:56:55 +02:00
parent c889e8be8a
commit e2dc7e32d6

View file

@ -12,6 +12,9 @@ export interface Command {
name: string;
options: Option[];
run: (
context: CommandContext
context: CommandContext<true>
) => any;
runMessage: (
context: CommandContext<false>
) => any;
}