Skip to main content


{return} can be used to return early. For advanced actions, you should likely always use {return} as it filters out useless and unwanted data.

{channel.send;test} // This will still be sent
Hello world! // This will be discarded because we're using {return}
{return;Goodbye world!} // This will be the only returned value

{return} can also be used in functions to return values. You can learn more about {return} with functions in the functions documentation.

Returning Early

{return} shines when used to return early.

// Handle help information
{return;Hello! It seems you're asking for help.}

// Handle the user not asking for help
// This will never run if "help" is set.
{return;Hello! This is the default message.}