https://discord.gg/botpress logo
Getting different versions of chatbot on different...
# 🤝help
i
Hello everyone; I'm using a Code-snippet plugin for Wordpress with the standard HTML. I've added the embed in the following format: . However I get different versions of the chatbot on different devices, and search engines, some of them being the oldest test version. Note: I emptied the cache on the devices many times and nothing changed. I'm not a developer so Please can soemone help me
i
thank you, since it was a plausible explanation, I did this many times but it didn't work. I even used a different device, but it's picking up an older version even after deleting the embed code and re-embedding from scratch. the issue is, the different devices and engines have different versions of the bot and not the same. which prompted me to think maybe there's something wrong with the way I'm doing it
p
If you've followed the docs for your chosen embedding method, there shouldn't be any problems there. About the multiple versions, you could try exporting your bot then reimporting, publishing and embedding the new one. There should then only be one version of it (the latest).
i
hello @prehistoric-airplane-85682 I don't know what you mean by exporting my bot and reimporting it.
p
When clicking on the top right botpress logo you get the option to export and import bots and to reset to default that bot. You can use those actions to simulate the bot having only one (the latest) version.
i
I tried it, it somewhat worked. I have a question though, when I make changes to the bot's theme (Webchat) do I have to publish the bot again for the chamges to appear? and if I do that will create a new version, do I have to reembed again? whan I exported the bot and imported it, it came back bare (no theme). I reembedded it without changing the theme, now I'm trying to make changes to the theme and nothing is going through.
p
You must save the the configurations at the bottom of the page and update the embedded scripts, indeed.