OriginProtocol / telegram-moderator

Telegram bot for controlling spam, logging, and more
MIT License
114 stars 49 forks source link

Ignore messages not from group being logged #2

Closed wanderingstan closed 5 years ago

wanderingstan commented 6 years ago

Right now the logger records every message the bot sees, even private messages sent right to it.

We should have a group name in config file and only log messages to that group.

wanderingstan commented 5 years ago

Fixed by having CHAT_IDS var setting chats that bot pays attention to. https://github.com/OriginProtocol/telegram-moderator/commit/b9b1663db3104ee006d11f1dd289c344cc303ba5