Automatic Greetings (Good Morning / Good Afternoon / Good Night)
OmniGest automatically replies to greetings like "buenos días", "good morning", "good night" with a personalised mention of the user — keeping your Telegram group warm and active without manual effort.
How it works
The bot listens for common greetings in Spanish and English and replies with one of three randomised variants per time slot, mentioning the user by name.
Supported greetings
| Slot | Triggers | Typical reply |
|---|---|---|
| Morning | buenos días, buenos dias, good morning, morning! | Mentions user + random variant |
| Afternoon | buenas tardes, good afternoon | Mentions user + random variant |
| Night | buenas noches, good night | Mentions user + random variant |
Greeting must be the full message (not a substring). "Buenos días a todos" triggers. "Te dije que buenos días" does NOT — to avoid noise.
Configuration
/config→ select group → Saludos / Greetings- Toggle on/off — default ON for new groups
- No further tuning needed
Cooldown & anti-spam
- 4 hours per user — the same user won't get two greetings in that window.
- Cooldown is in-memory, resets on container restart (acceptable: <1 deploy/day).
- Worst case: one user gets 2 replies/day. Not a real abuse vector.
Interaction with Night Mode
If Night Mode is enabled with silent option, greetings skip during the night window to respect the group's quiet hours.
Global kill-switch
The owner can disable greetings globally via .env:
GREETINGS_ENABLED=false
This overrides per-group settings. Useful for emergency shutdown.
Why this feature matters for Telegram groups
Active, responsive groups have higher retention. An automated "good morning, @user!" reply makes the group feel alive, especially in mornings when only one member is posting. It's a low-cost way to encourage the first interaction of the day.