functionality:
essentially just a bot for banned words (removing messages containing keywords)
1) in the bot/chat to be able to add a list of banned words
/namebot add words
Word1
word2
You can add up to 50-100 words at a time
And there should be a command
/namebot cancel
to remove all banned words
2) if a person writes a banned word, remove their ability to write in the chat (mute them)
no notifications are needed for them (the person)
3) to be able to turn the function on and off (can be done in the bot, can be done on the server)
which checks how many messages the user has sent in a day in 24 hours, if more than 24 hours they sent 1 message then all is okay, if 2 messages, then the second will be deleted, after the second is deleted and they write again, their ability to write in the chat is turned off (but this is not a ban, so they can still see the chat, just a restriction on sending messages)
the bot will be needed for 10 chats, a total of about 2500-4000 messages in the chats possible per day
a total of 400 banned words will be there, later it will be increased to 600 I think
Adding new banned words can be done in the chat in a list format
Importantly, it is necessary not just to ban the user, but to make it so they cannot send messages (but can see the chat) so that they have "you are forbidden to send messages" (system message from tg)