Skip to content

Import and export script functions

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

transfer.export

Packs actions, commands and timers into one import text (starting with CUEBOT1:) that you can share. Fails when a name is not found.

Value What to put in
actions Optional. Action names, separated by commas, like "Shoutout, Raid alert".
commands Optional. Command names, separated by commas, like "!so, !lurk".
timers Optional. Timer names, separated by commas.
includeDependencies Optional. true (the default) also packs what they need, like actions they run. false packs only what you named.
name Optional. A name for the pack, shown when someone imports it.
author Optional. Your name, shown when someone imports it.
description Optional. A short note about the pack, shown when someone imports it.

Gives back: The import text, starting with CUEBOT1:.

var answer = await Cb.Call("transfer.export", new { actions = "Shoutout, Raid alert", name = "My shoutout pack", author = "CoolStreamer" });
answer = cb.call("transfer.export", actions="Shoutout, Raid alert", name="My shoutout pack", author="CoolStreamer")