https://discord.gg/botpress logo
#🌎general
Title
# 🌎general
h

high-cpu-79286

07/13/2023, 4:17 PM
Hello everyone! I want to know how I can change the default botpress button to open my bot from a custom button of my website? This function would not be giving me results and it is not entirely clear to me where I should place it: document.getElementById("toggle-bp").addEventListener("click", function() { window.botpressWebChat.sendEvent({ type: webchatOpen ? "hide" : "show" }) })