forked from syntaxbullet/AuroraBot-discord
refactor: initial moves
This commit is contained in:
11
shared/lib/utils.ts
Normal file
11
shared/lib/utils.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { Command } from "./types";
|
||||
|
||||
/**
|
||||
* Type-safe helper to create a command definition.
|
||||
*
|
||||
* @param command The command definition
|
||||
* @returns The command object
|
||||
*/
|
||||
export function createCommand(command: Command): Command {
|
||||
return command;
|
||||
}
|
||||
Reference in New Issue
Block a user