All Projects → Hootrix → keyword_alert_bot

Hootrix / keyword_alert_bot

Licence: GPL-3.0 license
telegram keyword alert bot ⏰

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to keyword alert bot

Google Translater V2
Google Translater v2
Stars: ✭ 30 (-42.31%)
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 (-69.23%)
Mutual labels:  telegram-bot
GroupMusicPlayerBot
Advanced telegram group music play bot!
Stars: ✭ 32 (-38.46%)
Mutual labels:  telegram-bot
tmdb bot
IMDB Telegram bot clone using TMDB to get info about movies and TV shows.
Stars: ✭ 22 (-57.69%)
Mutual labels:  telegram-bot
KennedyXMusic
A Bot For Playing Music In VCG Telegram!
Stars: ✭ 29 (-44.23%)
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 (+144.23%)
Mutual labels:  telegram-bot
ultimate-poll-bot
💡 The ultimate vote and poll bot for creating, sharing and evaluating polls inside of Telegram
Stars: ✭ 109 (+109.62%)
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 (-42.31%)
Mutual labels:  telegram-bot
scp-079-pm
Everyone can have their own private chat bot
Stars: ✭ 25 (-51.92%)
Mutual labels:  telegram-bot
telegram bitcoin bot
Telegram Auto Mining Bitcoins In Termux
Stars: ✭ 115 (+121.15%)
Mutual labels:  telegram-bot
Remove-BG-Bot
A media background remover telegram bot with pyrogram framework.
Stars: ✭ 28 (-46.15%)
Mutual labels:  telegram-bot
AsyncTelegram
Async Arduino Telegram BOT Library for ESP8266 and ESP32
Stars: ✭ 41 (-21.15%)
Mutual labels:  telegram-bot
jadibot
Telegram Bot for jadi.net
Stars: ✭ 59 (+13.46%)
Mutual labels:  telegram-bot
telegram-bot-starter
Telegram bot starter based on grammY
Stars: ✭ 181 (+248.08%)
Mutual labels:  telegram-bot
CtfWatcherBot
Telegram Bot that keeps track and notificates subscribers about Capture The Flag competitions.
Stars: ✭ 12 (-76.92%)
Mutual labels:  telegram-bot
sozdik-bot
🇰🇿🇷🇺 Telegram and Messenger bot for Sozdik, a Russian to Kazakh dictionary
Stars: ✭ 13 (-75%)
Mutual labels:  telegram-bot
Telegraf-Test
Telegraf Test - Simple Test ToolKit of Telegram Bots
Stars: ✭ 22 (-57.69%)
Mutual labels:  telegram-bot
my-id-bot
Telegram bot to get ID of some chats (including your own ID)
Stars: ✭ 49 (-5.77%)
Mutual labels:  telegram-bot
H.E.L.P.
Home Environment Locating People 🍍
Stars: ✭ 19 (-63.46%)
Mutual labels:  telegram-bot
meteor-telegram-bot
Telegram bot plugin for Meteor
Stars: ✭ 25 (-51.92%)
Mutual labels:  telegram-bot

🤖Telegram keyword alert bot

用于提醒 频道/群组 关键字消息

如果想订阅群组消息,确保普通TG账户加入该群组不需要验证。

原理:tg命令行客户端来监听消息,使用bot来发送消息给订阅用户。

👉 Features:

👉 Todo:

  • 私有群组订阅和提醒
  • 私有频道消息提醒完整内容预览
  • 多账号支持
  • 扫描退出无用频道/群组

DEMO

http://t.me/keyword_alert_bot

image

USAGE

普通关键字匹配

/subscribe   免费     https://t.me/tianfutong
/subscribe   优惠券   https://t.me/tianfutong

正则表达式匹配

使用js正则语法规则,用/包裹正则语句,目前可以使用的匹配模式:i,g

# 订阅手机型号关键字:iphone x,排除XR,XS等型号,且忽略大小写
/subscribe   /(iphone\s*x)(?:[^sr]|$)/ig  com9ji,xiaobaiup
/subscribe   /(iphone\s*x)(?:[^sr]|$)/ig  https://t.me/com9ji,https://t.me/xiaobaiup

# xx券
/subscribe  /([\S]{2}券)/g  https://t.me/tianfutong

BUILD

1. config.yml.default --> config.yml

Create Telelgram Account & API

开通api 建议请使用新注册的Telegram账户

Create BOT

https://t.me/BotFather

2. RUN

运行环境 python3.7+

首次运行需要用tg账户接收数字验证码,且输入密码(telegram API触发)

$ pipenv install

$ pipenv shell

$ python3 ./main.py

3. crontab (optional)

  • update telethon

依赖库telethon可能会有旧版本不可用的情况或者其他BUG,请最好是通过定时任务去执行依赖更新。

e.g.

0 0 1 * * cd /home/keyword_alert_bot && pipenv update telethon > /dev/null 2>&1

BUG Q&A

  • 查看日志发现个别群组无法接收消息,软件客户端正常接收

请尝试更新telethon解决问题🤔,我也很无助。

  • 订阅群组消息,机器人没任何反应 #20

  • ModuleNotFoundError: No module named 'asyncstdlib', No module named '...'

$ pipenv  install

BOT HELP


目的:根据关键字订阅频道消息

支持多关键字和多频道订阅,使用英文逗号`,`间隔

关键字和频道之间使用空格间隔

主要命令:

/subscribe - 订阅操作: `关键字1,关键字2 https://t.me/tianfutong,https://t.me/xiaobaiup`

/unsubscribe - 取消订阅: `关键字1,关键字2 https://t.me/tianfutong,https://t.me/xiaobaiup`

/unsubscribe_all - 取消所有订阅

/list - 显示所有订阅列表

---

Purpose: Subscribe to channel messages based on keywords

Multi-keyword and multi-channel subscription support, using comma `,` interval.

Use space between keywords and channels

Main command:

/subscribe - Subscription operation: `keyword1,keyword2 https://t.me/tianfutong,https://t.me/xiaobaiup`

/unsubscribe - unsubscribe: `keyword1,keyword2 https://t.me/tianfutong,https://t.me/xiaobaiup`

/unsubscribe_all - cancel all subscriptions

/list - displays a list of all subscriptions
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].