import {BaseChatInputCommandData, CommandWithSubcommandsData} from "../types.js" import {ApplicationCommandType} from "discord.js" import {commandBotRestart} from "./restart.js" import {commandBotShutdown} from "./shutdown.js" import {commandBotRebuild} from "./rebuild.js" class BotCommandData extends CommandWithSubcommandsData { readonly baseDefinition: BaseChatInputCommandData = { name: "bot", type: ApplicationCommandType.ChatInput, description: "Commands to manage the bot's status.", } readonly subcommands = [ commandBotRebuild, commandBotRestart, commandBotShutdown, ] } export const commandBot = new BotCommandData()