and then i made a file called 01_create_shortlink....
# đź’»developers
v
and then i made a file called 01_create_shortlink.js in global/hooks/after_bot_mount `const chatOptions = { hideWidget: true, config: { enableReset: true, enableTranscriptDownload: true, extraStylesheet: "/assets/modules/channel-web/chat.css" } } const params = { m: "channel-web", v: "Fullscreen", options: JSON.stringify(chatOptions) } setTimeout(() => { try { bp.http.deleteShortLink(botId) } catch (e) {} // Chatbot will be available at $EXTERNAL_URL/s/$BOT_NAME bp.http.createShortLink( botId,
${process.EXTERNAL_URL}/lite/${botId}/
, params ) }, 500)`