Grommash9 / tg_chat_mate

https://grommash9.github.io/tg_chat_mate/
MIT License
5 stars 6 forks source link

Make private chat filter #107

Closed Grommash9 closed 8 months ago

Grommash9 commented 9 months ago

In a lot of our bot handlers we have this part of code and it's a shame

if message.chat.type != "private":
        return

We should move it into filter and remove if from handler