I am trying to get my bot to open a new tab and open a webpage automatically - i want to redirect them to a certain page and i want it to open up on a new tab. i have put an execute card and added some code but it keeps coming up as an error saying it cannot define a window any ideas on how to fix this? thanks
You should add
code to your website, and trigger it from the bot.
window.open('https://www.your-web-site.com', '_blank');
Some examples https://discord.com/channels/1108396290624213082/1191722277268623421/1201581143389114488