Update crash command
This commit is contained in:
parent
1c3c91fa1a
commit
98e83f85b9
1 changed files with 1 additions and 1 deletions
|
@ -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!");
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue