Freq Robot telegram bot

Freq Robot telegram bot

Telegram Bot to limit the number of messages users can write to chat

Installation

Follow these steps:

  • Add @FreqRobot as admin into your chatroom
  • Give bot permission to delete messages. No other permissions are required
  • Configure how many messages users can write, see the below commands details.

Commands

  • /freq set limit_day=N – set a maximum number of messages users can write to chat per day. For example, to limit users to 10 messages per day use command /freq set limit_day=10. Use zero value to disable the limit. Zero does not mean the user can’t write any message, zero means the user can write any number of messages.
  • /freq set tz_offset=N – set timezone offset in hours to reset per day message counter regarding the timezone of your chat. For example, if your chat time is Moscow (GMT+3), use this command /freq set tz_offset=3
  • /freq set limit_hour=N – set maximum number of messages users can write to chat per hour.
  • /freq set limit_minute=N – set maximum number of messages users can write to chat per minute.
  • /freq set lang=<lang-code> – setup language of notifications. Valid values for these settings are en and ru.
  • /freq config – see bot configuration for the current chat i.e. see which languages are blocked
  • /freq check – check if the bot is installed correctly.
  • /freq set notify_actions=yes – tell the bot to log his actions into chat
  • /freq set notify_actions=no – tell the bot to remove messages silently
  • /freq reload_admins – ask the bot to reload admin IDs for the current chat. Admins list is collected once and cached. Use this command to update cached data.

All these commands have to be sent to the chat which you want to configure. Do not send this command in a private message to the bot, it will ignore such private messages.

For support chat https://t.me/tgdev_en

Similar Telegram Channels You May Like

Leave a Reply

Your email address will not be published. Required fields are marked *