diff --git a/index.js b/index.js index 6e981dd..d331ee8 100644 --- a/index.js +++ b/index.js @@ -137,7 +137,7 @@ bot.onText(/^\/set ([a-zA-Z]+) (\d+)/, async(msg, match) => { -bot.onText(/^(\+|-|πŸ‘|πŸ‘Ž)/, async(msg, match) => { +bot.onText(/^(\+|-|πŸ‘|πŸ‘Ž|βž•|βž–)/, async(msg, match) => { processKarma(msg, match, {emoji: true}) }) @@ -418,11 +418,11 @@ async function processKarma(msg, match, settings={}) { } } if(msg.sticker) { - if (["πŸ‘","πŸ‘πŸ»","πŸ‘πŸΌ","πŸ‘πŸ½","πŸ‘πŸΎ","πŸ‘πŸΏ","βž•"].includes(msg.sticker.emoji)) { + if (["πŸ‘", "βž•"].includes(msg.sticker.emoji)) { changeMessage = `повысил` updateValue = 1 } - else if (["πŸ‘Ž","πŸ‘ŽπŸ»","πŸ‘ŽπŸΌ","πŸ‘ŽπŸ½","πŸ‘ŽπŸΎ","πŸ‘ŽπŸΏ","βž–"].includes(msg.sticker.emoji)){ + else if (["πŸ‘Ž", "βž–"].includes(msg.sticker.emoji)){ changeMessage = `ΡƒΠΌΠ΅Π½ΡŒΡˆΠΈΠ»` updateValue = -1 }