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
User: .say Hello, world!
Bot: Hello, world!Setting Up a Channel-Specific Say Command
Functionality
This setup allows users to send a message from one channel to another using:
.say #channel Your message hereThe bot will post the message in the specified channel.
Configuration
/autoresponder add trigger:.say reply:{requirearg:1|channel} {requirearg:2} {sendto:[$1]} [$2+]
/autoresponder editmatchmode trigger:.say matchmode:startswithExplanation
{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
User: .say #general Hello, everyone!
(Bot posts in #general): Hello, everyone!Setting Up an Embedded Say Command
Functionality
This setup allows users to send an embedded message with a custom color.
.embedsay #ff0000 Important announcement!The bot will send an embedded message with a red (#ff0000) color.
Configuration
/autoresponder add trigger:.embedsay reply:{requirearg:1|color}{requirearg:2}{embed:[$1]} [$2+]
/autoresponder editmatchmode trigger:.embedsay matchmode:startswithExplanation
{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
User: .embedsay #0088ff Server update: Please check the announcements!
(Bot sends an embedded message with a blue color):
[Embedded Message]
Color: Blue (#0088ff)
Text: "Server update: Please check the announcements!"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