Skip to content

Log script functions

Functions for C# (Cb.Call) and Python (cb.call). See Script functions for how to use them.

log

Writes a line to Cuebot's log, under the name of the running action. Handy to check what your script is doing.

Value What to put in
message The text to write, like "Giveaway started".
level Optional. How important it is: "Debug", "Info", "Warning" or "Error". Leave it out (or use an unknown word) for "Info".

Gives back: Nothing.

var answer = await Cb.Call("log", new { message = "Giveaway started", level = "Info" });
answer = cb.call("log", message="Giveaway started", level="Info")