markdown + smiles

This commit is contained in:
smsteel
2019-02-10 19:10:18 +03:00
parent 18f38770ce
commit d5a07966e8

2
bot.js
View File

@ -71,7 +71,7 @@ export const sendEvent = ({ type, displayName, ...payload }) => {
const newKillCount = killCount + 1 const newKillCount = killCount + 1
saveKillCount(displayName, payload.entityName, newKillCount) saveKillCount(displayName, payload.entityName, newKillCount)
if (newKillCount % KILL_NOTIFICATION_EACH_KILLS === 0) { if (newKillCount % KILL_NOTIFICATION_EACH_KILLS === 0) {
sendMessageToAll(`👻 *${getEntityName(payload)}* повержен(а) 👤 ${displayName}. Убито ещё ${KILL_NOTIFICATION_EACH_KILLS}! Всего 💀: ${newKillCount} 👍`) sendMessageToAll(`👻 *${getEntityName(payload)}* повержен(а) 👤 *${displayName}*. Убито ещё ${KILL_NOTIFICATION_EACH_KILLS}! Всего 💀: ${newKillCount} 👍`)
} }
}) })
break break