Launchers
Cakebot does not provide a command-line interface, to be as customizable as possible. Instead, we require that you, the user, write a launcher script.
#
Development launcherIf you are contributing to the repository, you can use the development launcher located in the launcher.js
file.
#
Creating a launcherThe first step to creating a launcher is to create a file, which you can name to whatever you want, with the .js
file extension.
Next, open the file in your editor of choice and add this base template:
#
Hookup referenceThis is for developers only.
Each hookup recieves the data
parameter, which has this TypeScript type declaration:
Hookup functions should return no value. Anything else that you return will be ignored.