forked from syntaxbullet/AuroraBot-discord
12 lines
258 B
TypeScript
12 lines
258 B
TypeScript
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;
|
|
}
|