mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-11-22 06:31:06 +01:00
feat: add runMessage into Command
This commit is contained in:
parent
c889e8be8a
commit
e2dc7e32d6
1 changed files with 4 additions and 1 deletions
|
@ -12,6 +12,9 @@ export interface Command {
|
||||||
name: string;
|
name: string;
|
||||||
options: Option[];
|
options: Option[];
|
||||||
run: (
|
run: (
|
||||||
context: CommandContext
|
context: CommandContext<true>
|
||||||
|
) => any;
|
||||||
|
runMessage: (
|
||||||
|
context: CommandContext<false>
|
||||||
) => any;
|
) => any;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue