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.

Community Last updated: Triggers

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...

L

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

ModeWhen it repliesExample 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!».
ExactOnly 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)

  1. 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.

  2. Go to «Triggers»

    It is in the left menu, with a lightning bolt icon.

  3. Pick «Authorized Channels» (optional)

    Hold Ctrl (Cmd on Mac) to select several. If you pick none, the trigger works in every channel (global).

  4. Type the «Keyword»

    The word or phrase that fires the reply.

  5. Type the «Response»

    What the bot will say. You can use Discord Markdown (**bold**, *italic*...) and variables (see below).

  6. Tick «Exact match» if needed

    Leave it unticked for a flexible trigger.

  7. 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».

  8. 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.

Open Triggers in the dashboard

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.

Manage Messages
/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.

Manage Messages
/deltrigger keyword

Deletes the trigger for that word.

Manage Messages
/listtriggers

Lists every trigger on the server.

Manage Messages

With the prefix, separate keyword and response with a vertical bar |. The trigger is created in flexible mode for the current channel only:

Example
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

VariableReplaced withExample
{user}Mention of the author@Lucy
{username}Their username (no mention)lucy_22
{server} or {guild}Server nameGamer Community
{count}Member count1,245
{channel}Mention of the channel it was typed in#general
{avatar}Link to their profile picturehttps://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.

Stuck?

Our team can help you on the support server or by email.