# Actions
Actions is where a lot of the power of GroupBot lies.
Actions get triggered by various types of triggers and then chosen actions are performed on those matching messages.
# Trigger
Actions can get triggered by:
- commands
- keywords
- media type
- special triggers
- schedule (coming soon)
# Commands
Commands are Telegram® style commands in the format /command
. Your command name can be anything, as long as it's a single word.
# Keywords
Keywords can be any words (up to 5 per action) that the bot "hears" in a message.
# Media type
Currently, only the photo media type can trigger an action. Thus, when the message contains a photo the action will be triggered.
# Special triggers
Currently, there are two special triggers:
- Profane language
- Vehicle license plate (South African only)
When the chosen special type of trigger is detected, your action will trigger.
# Schedule
Coming soon...
# Elaborator
An action can trigger an Elaborator.
TIP
Although it might seem like a command triggered action would suit an elaborator best, think about what types of messages people send in your groups that require elaboration and use a few keywords from such messages to trigger your elaborator.
# Action
This is the action that is performed on the message.
# Log
The message is saved and can be found in your message log on the message page.
# Remove
The message will be deleted from the chat.
# Approve
The message will require approval from an administrator before it's shared.
If the action does not have an elborator, the message is removed from the group, sent to an admin for approval and then forwarded back to the group if approved.
If the action has an elaborator, the message is logged and forwarded automatically to an admin and then on approval is forwarded to the forwarding groups.
# Groups
# Trigger groups
Only trigger this action if the trigger is detected on the selected groups. If no groups are selected it will trigger on all groups.
# Forward groups
If the forward action is selected, the message or the resulting elaborated message will be forwarded to these groups.