rockwyc992 / ingresshelper

Telegram bot that sends intel screenshot in reply of location

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ingress Helper Bot

Русский перевод ниже

How to start your own bot

  1. Download and unpack archive ("Download zip" button on the right column on this page).
  2. Download iitc plugins in iitc folder (check out core/iitc.module.js file to get list of required plugins).
  3. Send message to @BotFather and create new bot. You will get token.
  4. Edit core/telegram.js and replace YOUR_TOKEN_HERE with token from step 3.
  5. Open chrome, then select Preferences > Extensions.
  6. Check "Developer mode" checkbox, click "Load unpacked extension" and choose folder you got on step 1.
  7. Do not close chrome.

Как запустить своего бота

  1. Скачиваем и распаковываем архив (Кнопка "Download zip" на этой странице справа).
  2. Скачайте плагины для iitc и сохраните их в каталог iitc (список необходимых плагинов можно посмотреть в файле core/iitc.module.js).
  3. Отправляем сообщение @BotFather и создаем нового бота. В конце процесса ботфазер выдаст токен.
  4. В файле core/telegram.js вместо YOUR_TOKEN_HERE пишем токен от ботфазера.
  5. Открываем хром, идем в Настройки > Расширения.
  6. Ставим вверху галочку "Режим разработчика", нажимаем "Загрузить распакованное расширение" и выбираем папку, в которую распаковали на первом шаге.
  7. Не закрывать хром. Сворачивать можно.

About

Telegram bot that sends intel screenshot in reply of location


Languages

Language:JavaScript 98.7%Language:CSS 0.9%Language:HTML 0.5%