Auto-Responders

Auto-responders allow you to configure Squint to automatically respond with a message or react with emojis when specific words or phrases are used in your server. This can be used for quick FAQs, fun interactions, or simple moderation.

Setup

  1. Start the interactive setup: ;autorespond add

  2. Choose response type (message or reaction).

  3. Choose trigger type (exact or contains).

  4. Provide the trigger word/phrase.

  5. Provide the response message or emoji(s).

Example Use Case: A server wants to automatically respond to users asking about the rules.

  1. Run ;autorespond add

  2. Choose "message" type

  3. Choose "contains" trigger

  4. Enter "where are the rules" as the trigger

  5. Enter "Check the #rules channel, {user_mention}!" as the response

Configuration

  • responses: An object containing configured message responses.

    • exact: A map of triggers to message responses that match exactly.

    • contains: A map of triggers to message responses that are contained within a message.

  • reactions: An object containing configured emoji reactions.

    • exact: A map of triggers to emoji reactions that match exactly.

    • contains: A map of triggers to emoji reactions that are contained within a message.

Available Variables (for message responses):

  • {server_name} - The name of the server.

  • {server_id} - The ID of the server.

  • {server_membercount} - Total member count.

  • {server_membercount_nobots} - Human member count.

  • {server_botcount} - Bot member count.

  • {server_owner} - Server owner's username.

  • {user_name} - Message author's username.

  • {user_id} - Message author's ID.

  • {user_mention} - Mentions the message author.

  • {channel_name} - The channel name.

  • {channel_mention} - Mentions the channel.

Common Issues:

  • Auto-response is not triggering → Check if the trigger type is set to exact but the user is sending a longer message. Use contains for partial matches.

  • Bot cannot react → Ensure the bot has Add Reactions and Read Message History permissions in the channel.

  • Variables are not working → Ensure variables are enclosed in curly braces, e.g., {user_name}.

Usage

Once configured, Squint will monitor messages in your server. If a message matches a defined trigger, it will automatically send the configured response message or react with the specified emojis.

  • ;autorespond - Main command for managing auto-responders.

  • ;autorespond list - View all active auto-responders.

  • ;autorespond remove - Remove an existing auto-responder.

Last updated

Was this helpful?