This feature allows you to set up custom commands that Cakey Bot can handle. For example, you can make your own command called
!support which will post a message informing your users where they can get support for your server.
Login to the web dashboard on the main website here.
Click on the server you want to edit custom commands on.
Go to the "Custom Commands" page.
You can then create, delete and edit any commands on this page. You can get an overview of any triggers that are available below. You can also use our custom placeholders in your commands as well!
You can't name the command the same thing as a command that already exists in Cakey Bot. For example, you can't create a command like
!help. For commands like these, you either need to use the chat trigger or modify your command slightly so it doesn't match any of Cakey Bot's commands. For example
!helpme. Some other limitations are listed below:
You can't have duplicate tags with the same name
Custom Commands 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.
Custom Commands 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 full list of supported placeholders here.