Skip to content

Commit a5fb6f6

Browse files
committed
Fix catch phrases
1 parent 9059740 commit a5fb6f6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CatchPhrases.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@
177177
],
178178

179179
"newMember" : [
180-
"Приветствую тебя, %username%! 😚",
181-
"Приветик! :3",
182-
"Приветствую тебя в этом уютном чатике! 😻",
183-
"Приветствуем нового пользователя %username%!",
184-
"Пламенный привет новому участнику нашего сообщества! 👏"
180+
"Приветствую вас, %usernames%! 😚",
181+
"Приветик! :з",
182+
"Приветствую вас в этом уютном чатике! 😻",
183+
"Приветствуем %usernames%!",
184+
"Пламенный привет от нашего сообщества! 👏"
185185
],
186186

187187
"leftMember" : [

DigestBot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ bot.on('new_chat_members', function(msg)
332332
var isBotHere = usernames.indexOf(globalBotUserName) !== -1;
333333
var answer = (isBotHere) ? catchPhrases.others[4] :
334334
catchPhrases.newMember[getRandomInt(0, catchPhrases.newMember.length - 1)]
335-
.replace('%username%', usernames);
335+
.replace('%usernames%', usernames);
336336
sendMessageByBot(msg.chat.id, answer);
337337
});
338338

0 commit comments

Comments
 (0)