https://discord.gg/botpress logo
code is marked as wrong whatever I type (other tha...
# 🤝help
w
(i.e: working with variables, if statement, loops, .. is fine) anything related to Botpress is marked as wrong code (e.g: as in the images) https://ibb.co/TqRpx44L https://ibb.co/bMmSHfZg here is an image of my super simple flow: https://ibb.co/zT7WzTgc here is the error message https://ibb.co/5g0DG4Xn all agents are disabled. I've been working with deepseek, (chatGPT) but all suggestions till now have failed.
w
hi
bp
and
temp
are not defined in the botpress env
use this, on the left panel
and use
workflow.yourVar
l
Thank you @wooden-beard-40210 🫶
w
The
console.log()
function is used to log information to the Botpress logs.
g
the way to message a user from the execute code card is this:
Copy code
await bp.dm.replyToEvent(event, {
            type: 'text',
            text: 'Hello, world!'
          });
you can also send carousels and other message types like that