Custom Commands

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 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 guild.

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" 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 placeholders in your commands as well!

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

Limitations/Restrictions

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.

Also, keep in mind that Cakey Bot will ignore any messages or commands that are sent by other bots or sent via webhooks. 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 backward 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.

Placeholders/Variables

Custom Commands will work with BOTH Basic Placeholders & Advanced Placeholders. You can find the full list of supported placeholders here.