All Projects → radio-t → super-bot

radio-t / super-bot

Licence: MIT license
radio-t bot слушает чат telegram и реагирует на определенные команды и фрагменты текста.

Programming Languages

go
31211 projects - #10 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to super-bot

scp-079-pm
Everyone can have their own private chat bot
Stars: ✭ 25 (-34.21%)
Mutual labels:  telegram-bot
CtfWatcherBot
Telegram Bot that keeps track and notificates subscribers about Capture The Flag competitions.
Stars: ✭ 12 (-68.42%)
Mutual labels:  telegram-bot
luoxu
A Telegram userbot to index Chinese and Japanese group contents.
Stars: ✭ 77 (+102.63%)
Mutual labels:  telegram-bot
Telegraf-Test
Telegraf Test - Simple Test ToolKit of Telegram Bots
Stars: ✭ 22 (-42.11%)
Mutual labels:  telegram-bot
telegram bitcoin bot
Telegram Auto Mining Bitcoins In Termux
Stars: ✭ 115 (+202.63%)
Mutual labels:  telegram-bot
binance-spot-order-notification-heoku
[binance order trade fill notification] Telegram Notification when Binance order created, cancelled or filled. Ready to Deploy on Heroku
Stars: ✭ 30 (-21.05%)
Mutual labels:  telegram-bot
AsyncTelegram
Async Arduino Telegram BOT Library for ESP8266 and ESP32
Stars: ✭ 41 (+7.89%)
Mutual labels:  telegram-bot
telemmo
(discontinued) @telemmo_bot 🌐 An idle MMORPG for Telegram
Stars: ✭ 79 (+107.89%)
Mutual labels:  telegram-bot
GroupMusicPlayerBot
Advanced telegram group music play bot!
Stars: ✭ 32 (-15.79%)
Mutual labels:  telegram-bot
burnbg-bot
🔥 With this bot you can remove background from any picture. Don't spend hours manually picking pixels. Send your photo now & see the magic.
Stars: ✭ 40 (+5.26%)
Mutual labels:  telegram-bot
kuebikobot
A telegram bot that deploys to heroku/aws and downloads links and torrents and uploads to google drive and returns public share link
Stars: ✭ 127 (+234.21%)
Mutual labels:  telegram-bot
meteor-telegram-bot
Telegram bot plugin for Meteor
Stars: ✭ 25 (-34.21%)
Mutual labels:  telegram-bot
my-id-bot
Telegram bot to get ID of some chats (including your own ID)
Stars: ✭ 49 (+28.95%)
Mutual labels:  telegram-bot
TLG AntiJoin2SpamBot
Telegram Bot that figths against Spammers who join groups to publish their annoying and unwanted info. The Bot will watch for all new users that join the group and don't let them to publish messages that contains URLs until they have been in the group long as an specific time, and they have written an enough number of messages (configurable).
Stars: ✭ 16 (-57.89%)
Mutual labels:  telegram-bot
price-tracker-bot
Telegram 聊天機器人,追蹤momo降價、重新上架
Stars: ✭ 54 (+42.11%)
Mutual labels:  telegram-bot
KennedyXMusic
A Bot For Playing Music In VCG Telegram!
Stars: ✭ 29 (-23.68%)
Mutual labels:  telegram-bot
H.E.L.P.
Home Environment Locating People 🍍
Stars: ✭ 19 (-50%)
Mutual labels:  telegram-bot
Triton
GitHub notifications tracker for Telegram. Pushes GitHub notifications to Telegram.
Stars: ✭ 12 (-68.42%)
Mutual labels:  telegram-bot
YukkiMusicBot
Telegram Group Calls Streaming bot with some useful features, written in Python with Pyrogram and Py-Tgcalls. Supporting platforms like Youtube, Spotify, Resso, AppleMusic, Soundcloud and M3u8 Links.
Stars: ✭ 860 (+2163.16%)
Mutual labels:  telegram-bot
keyword alert bot
telegram keyword alert bot ⏰
Stars: ✭ 52 (+36.84%)
Mutual labels:  telegram-bot

Telegram бот подкаста Радио-Т

Build Status Go Report Card Coverage Status

Основная функциональность

Бот слушает чат Telegram и реагирует на определенные команды и фрагменты текста. Кроме этого, он слушает API новостей и публикует в Telegram сообщения о начале выпуска и смене тем.

С ботом можно общаться тет-а-тет, не засорая общий чат.

В режиме экспортирования сохраняет лог сообщений в HTML файл.

Статус

Бот в работе несколько лет и успешно "участвовал" во многих подкастах.

Команды бота

Команда Описание
ping, пинг ответит pong, понг, см. basic.data
анекдот!, анкедот!, joke!, chuck! расскажет анекдот с rzhunemogu.ru или icndb.com (нужен MASHAPE_TOKEN)
news!, новости! 5 последних новостей для Радио-Т
so! 1 вопрос со Stackoverflow
?? <запрос>, /ddg <запрос> поискать "<запрос>" на DuckDuckGo
search! <слово>, /search <слово> поискать по шоунотам подкастов

Инструкции по локальной разработке

Для создания тестового бота нужно обратиться к BotFather и получить от него токен.

После создания бота нужно вручную добавить в группу (Info / Add Members) и дать права администратора (Info / Edit / Administrators / Add Admin).

Приложение ожидает следующие переменные окружения:

  • TELEGRAM_TOKEN – токен полученный от BotFather
  • TELEGRAM_GROUP - основная группа в Телеграмме (туда приходят уведомления о новостях, все сообщения сохраняются в лог)
  • MASHAPE_TOKEN – токен от сервиса Kong, используется только для DuckDuckGo бота

Дополнительные переменные окружения со значениями по-умолчанию:

  • DEBUG (false) – включает режим отладки (логируется больше событий)
  • TELEGRAM_LOGS (logs) - путь к папке куда пишется лог чата
  • SYS_DATA (data) - путь к папке с *.data файлами и шаблоном для построения HTML отчета
  • TELEGRAM_TIMEOUT (30s) – HTTP таймаут для скачивания файлов из Telegram при построении HTML отчета
  • RTJC_PORT (18001) – порт на который приходят уведомления о новостях

Запустить бота можно через Docker Compose:

docker-compose up telegram-bot

Или с помощью Make:

make run ARGS="--super=umputun --super=bobuk --super=grayru --super=ksenks"

Для построения HTML отчета необходимо передать дополнительные флаги:

docker-compose exec telegram-bot ./telegram-rt-bot \
  --super=umputun \
  --super=bobuk \
  --super=grayru \
  --super=ksenks \
  --export-num=688 \
  --export-path=html \
  --export-day=20200208 \
  --export-template=logs.html

или

make run ARGS="--super=umputun --super=bobuk --super=grayru --super=ksenks --export-num=688 --export-path=logs --export-day=20200208 --export-template=data/logs.html"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].