diff --git a/resources/js/bots/console/bot.js b/resources/js/bots/console/bot.js index 82a24f0e0c..6b18caef9d 100644 --- a/resources/js/bots/console/bot.js +++ b/resources/js/bots/console/bot.js @@ -360,7 +360,7 @@ function jsHandler(params, context) { }; messages = []; try { - result["text-message"] = JSON.stringify(eval(params.code)); + result["text-message"] = String(JSON.stringify(eval(params.code))); localStorage.setItem("previousMessage", params.code); } catch (e) { result.err = e;