node-event-bot/server/structures/command.ts

8 lines
164 B
TypeScript

import { CommandType } from "../types/commandTypes";
export class Command {
constructor(commandOptions: CommandType) {
Object.assign(this, commandOptions)
}
}