Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixlzx committed Oct 27, 2018
1 parent 5b96057 commit 2841a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.js
Expand Up @@ -65,7 +65,7 @@ bot.command('newpack', function (ctx) {
bot.command('finish', function (ctx) {
let chatId = ctx.message.chat.id;
if (ramdb[chatId] && ramdb[chatId].islocked) {
return bot.sendMessage(chatId, messages[langSession[chatId]].msg.tasklocked);
return ctx.reply(messages[langSession[chatId]].msg.tasklocked);
}
let r = new RegExp(/\s?(png)?\s?(\d+)?/i);
let match = r.exec(ctx.state.command.args);
Expand Down

0 comments on commit 2841a1f

Please sign in to comment.