Update crash command

This commit is contained in:
Lucas Gabriel 2024-10-14 13:09:57 -03:00
parent 1c3c91fa1a
commit 98e83f85b9
No known key found for this signature in database
GPG Key ID: D9B075FC6DC93985

View File

@ -197,7 +197,7 @@ module.exports = (bot) => {
bot.command('crash', (ctx) => { bot.command('crash', (ctx) => {
handleAdminCommand(ctx, async () => { handleAdminCommand(ctx, async () => {
throw new Error('This is a forced crash!'); ctx.reply(null);
}, '', "Nope!"); }, '', "Nope!");
}); });
}; };