This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { ShortcutsResponse } from './types';
|
||||
import { pingCommand } from './commands/ping';
|
||||
import { timeCommand } from './commands/time';
|
||||
import { anthropicCommand } from './commands/anthropic';
|
||||
import { llamaCommand } from './commands/llama';
|
||||
|
||||
type CommandHandler = (
|
||||
parameters?: Record<string, string>
|
||||
@@ -18,7 +18,7 @@ export class CommandRegistry {
|
||||
private registerDefaultCommands() {
|
||||
this.register('ping', pingCommand);
|
||||
this.register('time', timeCommand);
|
||||
this.register('anthropic', anthropicCommand);
|
||||
this.register('llama', llamaCommand);
|
||||
}
|
||||
|
||||
register(command: string, handler: CommandHandler) {
|
||||
|
||||
Reference in New Issue
Block a user