Skip to content
Ritik Ranjan edited this page Aug 22, 2023 · 4 revisions

Autoresponders

What is Autoresponders

Automate responses and enhance server interactions using the Autoresponders feature in Parrot Bot. With these commands, server administrators can create, manage, and customize autoresponders for dynamic communication.

Note: To use these commands, you must have the Manage Server permission.

Commands

  • autoresponder add autoresponder add <name> [response]

    • Add a new autoresponder with a specified trigger name and an optional response message.
    • Example: autoresponder add greeting Hello, welcome to our server!
  • autoresponder disable autoresponder disable <name>

    • Temporarily disable a specific autoresponder to suspend its trigger-response behavior.
  • autoresponder enable autoresponder enable <name>

    • Enable a previously disabled autoresponder to restore its trigger-response behavior.
  • autoresponder edit autoresponder edit <name> [response]

    • Modify the response message of an existing autoresponder.
    • Example: autoresponder edit greeting Welcome to our community!
  • autoresponder ignore autoresponder ignore <name> <entity>

    • Exclude a specific role or channel from being triggered by the autoresponder.
    • Example: autoresponder ignore greeting #general
  • autoresponder info autoresponder info <name>

    • Retrieve detailed information about a specific autoresponder.
  • autoresponder list autoresponder list

    • List all configured autoresponders along with their current status.
  • autoresponder remove autoresponder remove <name>

    • Delete an autoresponder permanently.
  • autoresponder tutorial autoresponder tutorial [entity]

    • Access a tutorial that guides you through using autoresponder commands effectively.
  • autoresponder variables autoresponder variables

    • View the list of variables that can be used in autoresponder response messages.

Automate responses, customize triggers, and create dynamic interactions in your server with Parrot Bot's Autoresponders feature.

Dynamic Responses

The responses are rendered by Jinja2, a secure Sandbox Environment. Meaning, the response can be like this. Hi {{ message.author.mention }}.

Example: ar add Hi Hi {{ message.author.mention }}

There are 6 main variable:-

  • message
  • guild
  • ctx
  • channel
  • bot
  • discord

You can find the attributes and methods in Autoresponder Variables Docs Section

Clone this wiki locally