mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 12:49:57 +00:00
Update crash command
This commit is contained in:
parent
1c3c91fa1a
commit
98e83f85b9
@ -197,7 +197,7 @@ module.exports = (bot) => {
|
||||
|
||||
bot.command('crash', (ctx) => {
|
||||
handleAdminCommand(ctx, async () => {
|
||||
throw new Error('This is a forced crash!');
|
||||
ctx.reply(null);
|
||||
}, '', "Nope!");
|
||||
});
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user