This feature allows you to set up custom responses that Cakey Bot can handle. For example, you can make Cakey Bot respond to messages such as
wot with a link to a funny gif. You can also set some flags to determine what types of messages Cakey Bot will respond to.
Login to the web dashboard on the main website here.
Click on the server you want to edit custom commands on.
Go to the "Auto Responder" page.
You can then create, delete, and edit any responses on this page. You can get an overview of any flags that are available below.
Default behavior, looks for exact match strings
Will search the entire message to see if it contains this string/trigger
Will check to see if the message begins with this string/trigger
Will check to see if the message ends with this string/trigger
Will check to see if the message contains any files/attachments. (i.e. documents, images, videos)
Note: When using this flag, the "Command" field is still required. However, it is not used to actually trigger the auto response. It's purely a cosmetic property.
You can't have duplicate tags with the same name
Auto Responders are also limited to Discord's message character limit
Messages sent by bots or webhooks will be ignored
Emoji/Emotes CAN be used in Custom Commands. However, it requires slightly more work due to how discord parses emotes. Normally in Discord, you could just type
:smile: to get an emote, however in Cakey Bot, neither of these will work. In order to get valid emojis you have to send the emojis in discord but place a backward slash in front of it to get the emote's full ID. Like so:
\:smile: which will produce these results:
<:lel:408424717217693717> or for Unicode emoji:
😄 . Once you have the full emoji id or the raw Unicode output, you can paste these into Cakey Bot's web dashboard and they should work as long as Cakey Bot is in a server that has that custom emote in it.
To use images in responses, you can simply just type the image URL/link like you would in a normal message. If you have the file on your local machine/PC but no URL/link, you can upload it to an image hosting website (such as Imgur) and paste the URL they provide into the response. Cakey Bot should automatically embed the image in Discord's client if it's a valid URL/image.
Auto Responder will work with BOTH Basic Placeholders & Advanced Placeholders. Placeholders can be included in the response section and can modify the behavior/output of the response. You can find the list of supported placeholders here.