Custom Commands/Auto Responder

Custom commands in Cakey Bot are in a very early BETA stage and will be greatly overhauled in the future. Once the custom command system has been updated and re-written for release this page will be completed with information regarding usage.

Overview

This feature allows you to setup custom responses and 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 guild. You can also have Cakey Bot respond to regular strings such as wot with a link to a funny gif.

Setup

You will need Manage Server or Administrator permission to manage guilds and custom commands.

  1. Login to the web dashboard on the main website here.

  2. Click on the guild you want to edit custom commands on.

  3. Go to the "Custom Commands/Auto Responder" page.

  4. 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 variables in your commands as well!

Triggers

  • Chat

    • This will cause the response to be ran when chat message matching the command's name is sent. For example: mycustomcommand.

  • Command

    • This will cause the command to be ran when someone sends a message that includes the command name + Cakey bot's prefix in front of it. For example !mycustomcommand.

    • Note: The command trigger will use a custom set prefix if you have changed Cakey Bot's prefix.

Limitations/Restrictions

For custom commands that use the Command Trigger, you can't not name the command 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.

Also keep in mind that Cakey Bot will ignore any messages or commands that are sent by other bots or sent via web hooks. This is to prevent spam loops or command loops between both bots.

Using Emote/Emotes in Commands

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 :lel: or :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 backwards slash in front of it to get the emote's full ID. Like so: \:lel: or \: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 guild that has that custom emote in it.

It is worth noting that Cakey Bot can use emojis in between guilds (similar to nitro users). So if you have an emoji in Guild #1, you can use that emoji in a custom command in Guild #2 if Cakey bot is in both of those guilds.