mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 10:45:27 +00:00
don't delete health check message
This commit is contained in:
parent
0fd98744db
commit
2b7c3052d4
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue