don't delete health check message

This commit is contained in:
Lea 2023-04-06 13:25:29 +02:00
parent 0fd98744db
commit 2b7c3052d4
No known key found for this signature in database
GPG key ID: 1BAFFE8347019C42

View file

@ -9,6 +9,5 @@ export default {
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;