Freq Robot allows chat administrator to limit number of messages users can write to chat. You can limit users by number of messages per minute, hour and day. Messages counter resets at the start of each period (minute, hour or day). You can set upt timezone offset to reset per day message counter regarding your time zone.
Follow these steps:
@FreqRobot
as admin into your chatroom/freq set limit_day=N
- set maximum number of messages user can write to chat per day. For example, to limit users with 10 messages per day use command /freq set limit_day=10
. Use zero value to disable limit. Zero does not mean user can't write any message, zero means user can write any number of messages./freq set tz_offset=N
- set timezone offset in hours to reset per day message counter regarding 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 user can write to chat per hour./freq set limit_minute=N
- set maximum number of messages user can write to chat per minute./freq set lang=<lang-code>
- setup language of notifications. Valid values for this settings is en and ru./freq config
- see bot configuration for the current chat i.e. see which languages are blocked/freq check
- check if bot is installed correctly./freq set notify_actions=yes
- tell bot to log his actions into chat/freq set notify_actions=no
- tell bot to remove messages silently/freq reload_admins
- ask bot to reload admin IDs for 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 private message to the bot, it will ignore such private messages.
First, complete installation instructions. Then type into chat this command: /freq check
. Fix any issues bot talkes about.