🛠 Tools › Triggers
What it does
Your own rules for the chat. A trigger is a set of conditions and a set of actions: when the conditions match, the actions run. Conditions cover what happens in the chat — a join, a leave, the first message, a channel post, the message type or its length, and pattern matching over the text, the name, the username or the bio. Actions cover what the bot does — delete the message, reply, forward it elsewhere, mute, kick or ban, approve or decline a join request. Several conditions are joined with AND or OR, and a trigger may carry several actions at once. See the reference sections below: conditions, actions, ready-made examples and a note on regular expressions.
In detail: how it works · conditions · actions · examples · regular expressions
How to enable
- In the bot: Open the settings: the
/configcommand in the group or in a private chat with @lolsbot, or the link t.me/lolsbot?start=config. Pick the chat → “🛠 Tools” → “Triggers” (opens its settings screen). - In the web panel: lols.bot/adminka → your chat → “⚙️ Settings” → “🛠 Tools” → “Triggers”.
- Who can change it: A chat admin with the right to ban users (the owner always can).
Related options
FAQ
How do I enable and set up triggers (custom rules) in a Telegram group?
Open the settings: the /config command in the group or in a private chat with @lolsbot, or the link t.me/lolsbot?start=config. Pick the chat → “🛠 Tools” → “Triggers”. The same can be done in the web panel lols.bot/adminka: your chat → “⚙️ Settings” → “🛠 Tools” → “Triggers”. Settings can be changed by a chat admin with the right to ban users.
What does “Triggers” do in @lolsbot?
Your own rules for the chat. A trigger is a set of conditions and a set of actions: when the conditions match, the actions run.