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
Start the interactive setup:
;autorespond addChoose response type (
messageorreaction).Choose trigger type (
exactorcontains).Provide the trigger word/phrase.
Provide the response message or emoji(s).
Example Use Case: A server wants to automatically respond to users asking about the rules.
Run
;autorespond addChoose "message" type
Choose "contains" trigger
Enter "where are the rules" as the trigger
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
exactbut the user is sending a longer message. Usecontainsfor partial matches.Bot cannot react → Ensure the bot has
Add ReactionsandRead Message Historypermissions 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.
Related Commands
;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?