Auto-responders (triggers): teach the bot to talk
The bot replies on its own when someone types a word or phrase. From the dashboard or with commands.
What is an auto-responder?
An auto-responder (or trigger) is a rule like «when someone types X, reply Y». It answers frequent questions without staff having to watch the chat: a game server IP, where the rules are, a fun greeting...
Lucy
hey what is the server ip?
Nekovilo BOT
Hi @Lucy! The IP is play.myserver.com 🎮
In this example the keyword is ip and the response is Hi {user}! The IP is **play.myserver.com** 🎮.
Exact mode and flexible mode
| Mode | When it replies | Example with the word «hello» |
|---|---|---|
| Flexible (default) | If the word appears anywhere in the message, even inside another word. | Fires on «hello», «hellooo» and «Hello everyone!». |
| Exact | Only if it appears as a whole word. | Fires on «hello, how are you» but NOT on «hellooo». |
Both modes ignore upper and lower case.
Tip
Use exact mode for short words. In flexible mode, a «cat» trigger would also fire on «category» or «education».Create a trigger from the dashboard (step by step)
-
Log in and open your server
On nekovilo.com click «Login», open «Nekovilo Manager» and click «Manage» on your server. Or just use the button below.
-
Go to «Triggers»
It is in the left menu, with a lightning bolt icon.
-
Pick «Authorized Channels» (optional)
Hold Ctrl (Cmd on Mac) to select several. If you pick none, the trigger works in every channel (global).
-
Type the «Keyword»
The word or phrase that fires the reply.
-
Type the «Response»
What the bot will say. You can use Discord Markdown (
**bold**,*italic*...) and variables (see below). -
Tick «Exact match» if needed
Leave it unticked for a flexible trigger.
-
Fill in «Ignore if contains...» (optional)
Comma-separated words. If the message contains any of them, the bot stays quiet. Example: trigger «ip», ignore «zip, tip».
-
Click «Add Trigger»
It appears in the table below and works instantly.
If you are not logged in, you will sign in with Discord first and come straight back to this dashboard section.
To change a trigger, click the pencil on its row: a window opens with all its data. To delete it, click the trash icon and confirm.
Create and manage triggers with commands
/addtrigger keyword response [global] [channel] [mode] [ignored]
Creates a trigger. Without global or channel, it only works in the channel where you type the command. mode: Exact or Flexible. ignored: comma-separated ignored words.
/edittrigger keyword_actual [nueva_keyword] [nueva_respuesta] [global] [add_canal] [rem_canal] [modo]
Changes only what you fill in: keyword, response, mode, or add/remove channels. global:True makes it work everywhere.
/deltrigger keyword
Deletes the trigger for that word.
/listtriggers
Lists every trigger on the server.
With the prefix, separate keyword and response with a vertical bar |. The trigger is created in flexible mode for the current channel only:
nv addtrigger rules | Read the rules in #rules before chatting 📜
nv deltrigger rules
nv listtriggers
Info
To change the ignored words of an existing trigger, edit it from the web dashboard.Variables for dynamic replies
| Variable | Replaced with | Example |
|---|---|---|
{user} | Mention of the author | @Lucy |
{username} | Their username (no mention) | lucy_22 |
{server} or {guild} | Server name | Gamer Community |
{count} | Member count | 1,245 |
{channel} | Mention of the channel it was typed in | #general |
{avatar} | Link to their profile picture | https://cdn.discordapp.com/... |
How the bot decides what to reply
- Each message produces at most one reply: the first matching trigger.
- To prevent spam, each person can fire at most 2 triggers every 10 seconds. Extra ones are silently ignored.
- The bot never replies to other bots.
- Triggers do not fire on messages AutoMod has just deleted.
Ideas
FAQs
«ip», «schedule», «how do I level up», «where do I report a bug».
Greetings
«good morning» in #general → «Good morning, {user}! ☀️».
Reminders
«spoiler» in #general → «Please use ||spoiler tags|| 🙏».
Inside jokes
Your community's catchphrases, with their reply.
Required permissions
What the bot needs
- View Channels and Send Messages in the channels where the trigger works
What you need
- Manage Messages to create, edit, delete or list triggers
Troubleshooting
The trigger does not reply
Check that the channel is among its authorized channels (or that it is global), the exact mode, the ignored words, and that the Triggers module is enabled.
It replies when it should not
It is probably flexible and the word appears inside other words. Switch to exact mode or add ignored words.
A different trigger replies
Only the first match replies. Make your keywords more specific.