Grommash9 / tg_chat_mate

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

Ignore messages from banned users #123

Closed Grommash9 closed 8 months ago

Grommash9 commented 8 months ago

We can have banned field in user database document. We want to ignore any updates from them.

Can we create middleware for it?

https://docs.aiogram.dev/en/latest/dispatcher/middlewares.html

If it will be too hard we can use decorator or filter as well