Say Command
This guide explains how to configure an autoresponder-based "Say" command, allowing users to make the bot relay messages in chat. The setup supports basic text messages, channel-specific messages, and
Features
Basic Say Command – Allows users to send messages as the bot.
Channel-Specific Say Command – Redirects private messages to a public channel.
Embedded Messages – Sends styled messages with custom colors.
Match Mode Configuration – Adjust how the autoresponder interprets commands.
Setting Up a Basic Say Command
Functionality
This setup allows users to type .say [text], and the bot will repeat the text while deleting the original message.
Configuration
/autoresponder add trigger:.say reply:{delete}{requirearg:1} [$1+]
/autoresponder editmatchmode trigger:.say matchmode:startswithExplanation
{delete}– Deletes the user’s original message.{requirearg:1}– Ensures at least one argument is provided.[$1+]– Outputs everything after.sayas the message.matchmode:startswith– Ensures.sayis triggered when it starts a message.
Example Usage
Setting Up a Channel-Specific Say Command
Functionality
This setup allows users to send a message from one channel to another using:
The bot will post the message in the specified channel.
Configuration
Explanation
{requirearg:1|channel}– Requires the first argument to be a valid channel.{requirearg:2}– Ensures that a message is provided.{sendto:[$1]}– Sends the message to the specified channel.[$2+]– Outputs everything after the channel mention as the message.
Example Usage
Setting Up an Embedded Say Command
Functionality
This setup allows users to send an embedded message with a custom color.
The bot will send an embedded message with a red (#ff0000) color.
Configuration
Explanation
{requirearg:1|color}– Requires the first argument to be a valid hex color.{requirearg:2}– Ensures that a message is provided.{embed:[$1]}– Formats the message as an embed with the specified color.[$2+]– Outputs everything after the color as the message content.
Example Usage
Summary
Basic Say
.say Hello!
Makes the bot repeat the text.
Channel-Specific Say
.say #general Hello!
Sends a message to another channel.
Embedded Say
.embedsay #ff0000 Important!
Sends a formatted embedded message.
This guide provides flexible autoresponder configurations that allow server admins to create custom bot responses using .say and .embedsay in any channel.
Last updated