https://discord.gg/botpress logo
event listeners like window.botpress.on('conversat...
# šŸ¤help
g
Hi Botpress team I have a plain-JS Webchat embed (not React). This hook fires on every conversation start:
Copy code
window.botpress.on('conversation', (conversationId) => {
                  console.log('Conversation ID: ', conversationId);
                    // Insert your code here
                });
After upgrading to v2.5, I see no logs from that listener at all - neither on the first open nor on any restart. I confirmed by going back to v2.4 and it worked perfectly. The documentation still lists the conversation event under the ā€œListen to eventsā€ section, so it doesn’t appear to be deprecated. However, in v2.5 I’m not seeing any conversation callbacks - neither on the initial open nor on restart - so I suspect this may be a bug. Can you confirm whether the "conversation" event was removed or renamed in v2.5? If this change is intentional, is there a new hook for catching every session start? If not, as previously stated, I think this may be a bug I haven’t tested the other listed event listeners, so they may be affected as well. Thanks!
p
Thank you for bringing this to our attention, we will be looking into it!