mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-12-22 12:11: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;
|
||||
options: Option[];
|
||||
run: (
|
||||
context: CommandContext
|
||||
context: CommandContext<true>
|
||||
) => any;
|
||||
runMessage: (
|
||||
context: CommandContext<false>
|
||||
) => any;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue