diff --git a/src/botscript.rs b/src/botscript.rs index 3868b91..77edc28 100644 --- a/src/botscript.rs +++ b/src/botscript.rs @@ -17,7 +17,8 @@ pub enum ScriptError { pub type ScriptResult = Result; -pub type BotFunction = String; // temporal workaround +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct BotFunction(String); // temporal workaround // TODO: remove this function since it is suitable only for early development #[allow(clippy::print_stdout)]