mik3sw / GoogleAssistantBot

Simple and Open source Telegram bot, for group managing (and fun)
https://t.me/pythonandroidbot
Apache License 2.0
8 stars 3 forks source link

Add rule to pin messages from channels and notify all members. #17

Closed giaccone closed 2 years ago

giaccone commented 2 years ago

This commit changes (slightly) the normal behaviour of the link between channel and group. This function unpin the message coming from the channel and repin it with the addition of notifying all members.

Changes: modified: bot/dialogs/rules/init.py new file: bot/dialogs/rules/channel_pin.py modified: bot/dialogs/rules/main.py

giaccone commented 2 years ago

There is still something to fix. I close the pull request.