Skip to content

Commit

Permalink
disable edit action
Browse files Browse the repository at this point in the history
  • Loading branch information
JetP1L0t committed Apr 30, 2019
1 parent eb42dcb commit b46f249
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bot2.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ else {
}
);

bot.on('edit', (msg) => {
return msg.reply.text('орфографию исправлял?', { asReply: true });
});
// bot.on('edit', (msg) => {
// return msg.reply.text('орфографию исправлял?', { asReply: true });
// });

bot.on(/^(exact\soption\?|another_option|да\sили\sнет\?)/, (msg) => {
return msg.reply.photo(choosePic('yesno',msg.chat.id,msg.from.username,msg.from.id), { asReply: true });
Expand Down

0 comments on commit b46f249

Please sign in to comment.