https://discord.gg/botpress logo
Telegram token dissapearing (report_01J313AZHAD2ZX...
# 🤝help
b
b
it's likely a problem with the execute code card you've set up in your first node
as you see in the logs the message is being received
can you debug this by sending a simple message card before executing code?
b
Why is it impacting the token tho?
The execute card is just this:
user.telegram_id = {{ event.tags.user['telegram:id'] }}
I'm still trying to save user ID to a variable🤣 Didn't know it could alter the integration
b
hahaha i remember
i think if the code is unable to execute then just. nothing will occur
b
The thing is that the code is def not working. So I go and change it, republish and try to test again - and the bot just stops completely
Like, no logs, nothing
b
can you try sending a simple message card instead of executing code
b
Yeah, it works lol:) I'm so bad at code that I can literally disconnect integrations
b
honestly?
that's kind of impressive