<commit_before>'use strict';
const bot = require('./init').bot;
const channelId = require('./init').channelId;
const admins = require('./commands/updateChannelAdmins').admins;
const updateInfoChannelAdmins = require('./commands/updateChannelAdmins').updateInfoChannelAdmins;
const infoChannelAdminsActivator = require('./commands/updateChannelAdmins').activator;
const checkPermissionsForPublish = require('./commands/publishJobVacancy').checkPermissionsForPublish;
const publishJobVacancy = require('./commands/publishJobVacancy').publishJobVacancy;

bot.on('message', async (msg) => {
  if (!admins.has(channelId) || infoChannelAdminsActivator(msg)) {
    await updateInfoChannelAdmins(channelId);
  }
  if (checkPermissionsForPublish(msg, channelId)) {
    publishJobVacancy(msg, channelId)
  }
});<commit_msg>Добавлил отчет об обновлении<commit_after>'use strict';
const bot = require('./init').bot;
const channelId = require('./init').channelId;
const admins = require('./commands/updateChannelAdmins').admins;
const updateInfoChannelAdmins = require('./commands/updateChannelAdmins').updateInfoChannelAdmins;
const infoChannelAdminsActivator = require('./commands/updateChannelAdmins').activator;
const checkPermissionsForPublish = require('./commands/publishJobVacancy').checkPermissionsForPublish;
const publishJobVacancy = require('./commands/publishJobVacancy').publishJobVacancy;

bot.on('message', async (msg) => {
  if (!admins.has(channelId)) {
    await updateInfoChannelAdmins(channelId);
  }
  if (infoChannelAdminsActivator(msg)) {
    await updateInfoChannelAdmins(channelId);
    const replyText = 'обновил';
    bot.sendMessage(msg.chat.id, replyText, { reply_to_message_id: msg.message_id })
  }
  if (checkPermissionsForPublish(msg, channelId)) {
    publishJobVacancy(msg, channelId)
  }
});
{'fraction_non_alphanumeric': 0.13443526170798897, 'fraction_numerical': 0.0, 'mean_word_length': 6.964912280701754, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1898533', 'n_tokens_mistral': 552, 'n_tokens_neox': 555, 'n_words': 85}