Public
Versions
- Open: Version+138-0/*** Returns a response to the user's query*/async function getResponse(req: Query, send: SendEventFn) {send("meta", { content_type: "text/markdown" });send("text", {text: `Here is a preview~~~<html><body><h1>hello world</h1></body></html>~~~`,});for (let i = 0; i < 5; i++) {await sleep(1000);send("text", { text: "\nmeow" });}send("done", {});}/*** Returns your bot's settings*/async function getBotSettings(): Promise<BotSettings> {return {allow_attachments: true,expand_text_attachments: true,introduction_message: "I send an html preview and then say meow",enable_multi_bot_chat_prompting: true,};}
jeffreyyoung-competitivegrayskunk.web.val.run
Updated: August 14, 2024