This bot can limit the number of inline messages sent by members in a group to avoid inline message storms.
inline-limiter.mp4
Just add this bot to the group and give it the permission to manage and delete messages.
The default configuration of the bot is that a burnout is triggered when a user sends more than 4 inline messages in 240 minutes.
And the burnout is cleared 240 minutes after the user sends the first inline message.
The admins
in the group could change the configuration by command /setup
You could get more info by command /help
- Set
TZ
in.env
to your group`s timezone. You can access tz database there. - Set
BOT_TOKEN
in.env
with your telegram bot token. - Run
make
. - Your bot should be online now.