diff --git a/bot/src/bot/commands/misc/healthcheck.ts b/bot/src/bot/commands/misc/healthcheck.ts new file mode 100644 index 0000000..20fe35d --- /dev/null +++ b/bot/src/bot/commands/misc/healthcheck.ts @@ -0,0 +1,14 @@ +import CommandCategory from "../../../struct/commands/CommandCategory"; +import SimpleCommand from "../../../struct/commands/SimpleCommand"; +import MessageCommandContext from "../../../struct/MessageCommandContext"; + +export default { + name: 'healthcheck', + aliases: null, + description: 'Health check', + category: CommandCategory.Misc, + run: async (message: MessageCommandContext, args: string[]) => { + const msg = await message.reply('Health check success: ' + args.join(' ')); + setTimeout(() => msg?.delete().catch(e => console.error), 5000); + } +} as SimpleCommand;