Post your project for free and start receiving proposals from freelancers within minutes after publication!
Boot Moderators for Telegram in Python
Anti-Frood System for Chat:
The script consists of two parts of the admin on the site and the bot in the telegram.1 .The admin on the site should be attached to the domain and ssl surteficate.2ndThe bot is added to the chat where it will control, moderate, and so on.For example our domain https://telechat.ru/
Then what to get into our chat user goes to one of the pre-prepared pages of the site, for example.
HTTPS://telechat.ru/grayscheme after switching its redirect to our chat.At the same time, the trace is fixed in the adminke.the values of the yuser that are placed in the table,
and the table itself has filters from big to smaller and vice versa:
ip, useragent, login tg, name in tg, login date, status
IP, useragent - data is taken from the site
login tg, name in tg, date of login - the data is taken from tg bot
status - this is described in tz below
If any user has entered the direct link to the chat, not through our, then instead of
IP, useragent, stands ---
If the user has entered the chat with two acks, then the same ip, useragent is lighted in red.The bot moderators must:
1 .It is prohibited to write in the chat if the administrator's table stands ---, after entering to give a notification why so, which I will prescribe in the administrator.2ndIn the admin I prescribe keywords, if they meet in the chat, the bot will respond to these keywords by his text.For example, the word combination: buy proxy, where to buy proxy, buy proxy, buy proxy - prescribed in admin
And if they meet in such an example of the text: hello guys, I have long wanted to buy proxy, where?Then the bot reacts and poisons his text, responding to the message.It is in the form of answer that does.That is, to the previously invented post, we in the admin make a combination of words on which the bot triggers.Words can be changed, removed, and so on.And these posts do as much as they do.The post consists of pure text, links, smiley - no more.ThreeJust in the same way as from the past point, we make a list of phrases to which the bot reacts and makes comments.But now in the admin we prescribe how many comments to do before a mute or a bath.For example, 3 comments mouth for 30 minutes.5 comments for 1 hour.10 comments for 24 hours.20 comments to Ban.That is, there should be the possibility to set all these parameters.Well, and in the table with the users we write his status - tortured for a day, funny, good.Voting for the ban in chat.People write in the chat /ban and the bot asks if they would send a message to which the ban goes.The vote is open – for and against.If a voter receives 11 votes, the user who has complained will fly to the ban.Well, in the table with the jurists we write his status - it's forbidden.+ as always you need a complete instructions to install on the server, I will also test it.Linux Ubuntu Server 20.04
The script consists of two parts of the admin on the site and the bot in the telegram.1 .The admin on the site should be attached to the domain and ssl surteficate.2ndThe bot is added to the chat where it will control, moderate, and so on.For example our domain https://telechat.ru/
Then what to get into our chat user goes to one of the pre-prepared pages of the site, for example.
HTTPS://telechat.ru/grayscheme after switching its redirect to our chat.At the same time, the trace is fixed in the adminke.the values of the yuser that are placed in the table,
and the table itself has filters from big to smaller and vice versa:
ip, useragent, login tg, name in tg, login date, status
IP, useragent - data is taken from the site
login tg, name in tg, date of login - the data is taken from tg bot
status - this is described in tz below
If any user has entered the direct link to the chat, not through our, then instead of
IP, useragent, stands ---
If the user has entered the chat with two acks, then the same ip, useragent is lighted in red.The bot moderators must:
1 .It is prohibited to write in the chat if the administrator's table stands ---, after entering to give a notification why so, which I will prescribe in the administrator.2ndIn the admin I prescribe keywords, if they meet in the chat, the bot will respond to these keywords by his text.For example, the word combination: buy proxy, where to buy proxy, buy proxy, buy proxy - prescribed in admin
And if they meet in such an example of the text: hello guys, I have long wanted to buy proxy, where?Then the bot reacts and poisons his text, responding to the message.It is in the form of answer that does.That is, to the previously invented post, we in the admin make a combination of words on which the bot triggers.Words can be changed, removed, and so on.And these posts do as much as they do.The post consists of pure text, links, smiley - no more.ThreeJust in the same way as from the past point, we make a list of phrases to which the bot reacts and makes comments.But now in the admin we prescribe how many comments to do before a mute or a bath.For example, 3 comments mouth for 30 minutes.5 comments for 1 hour.10 comments for 24 hours.20 comments to Ban.That is, there should be the possibility to set all these parameters.Well, and in the table with the users we write his status - tortured for a day, funny, good.Voting for the ban in chat.People write in the chat /ban and the bot asks if they would send a message to which the ban goes.The vote is open – for and against.If a voter receives 11 votes, the user who has complained will fly to the ban.Well, in the table with the jurists we write his status - it's forbidden.+ as always you need a complete instructions to install on the server, I will also test it.Linux Ubuntu Server 20.04
Another 6 proposals concealed
1 proposal concealed
-
Приветствую.
Чат, в котором состоит бот будет только один?
Если несколько - Должно быть какое-то деление в таблице пользователей на чаты? -