9 lines
282 B
TypeScript
9 lines
282 B
TypeScript
import type { CommandHandler } from '@/commands/command-handler.type';
|
|
|
|
const handler: CommandHandler<{ name: string; type: 1; description: string }> = {
|
|
definition: { name: 'test2', type: 1, description: 'Test command 2' },
|
|
execute: async () => {},
|
|
};
|
|
|
|
export default handler;
|