Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined (reading 'message_id') #433

Open
ProfEduStream opened this issue Apr 9, 2024 · 2 comments

Comments

@ProfEduStream
Copy link

ProfEduStream commented Apr 9, 2024

Hey,

Instead of bothering you on Twitter or something like that, I gonna create a pull request; which I'm not familiar with.

As a french Bitcoin association, we use TediCross to build a bridge between some of our Discord channels and our Telegrams. That's very, very usefull. Thank you !

I'm using TediCross 0.11.4 with Node.js v20.11.0 for a few months and I still have, sometimes, a bug:
"TypeError: Cannot read properties of undefined (reading 'message_id')"

Considering I was writing a tutorial for other Bitcoin communities about using TediCross, I was wondering where this bug comes from.
!
Sans titre

Do you know why it appears?


Expected: work as usual, no error message.

Reality: at some point, whereas no message had been sent, the bot stops and the "TypeError: Cannot read properties of undefined (reading 'message_id')" error appears.
The last time it occured, someone joined the Telegram chat; and all Telegram messages after hadn't been bridged.

Way to solve the problem: just make an "npm start" again.

PS: I know there was on update on TediCross. However, sadly, I couldn't make it work :/

@Lulalaby
Copy link
Collaborator

I'm aware of the error but I couldn't reproduce it ever on my local test, hence I wasn't able to fix anything :/
Make sure that the bot can only see what it's supposed to bridge

@ProfEduStream
Copy link
Author

Thanks for your answer. I'll try to modify some settings & I gonna edit this post if it works.

Thanks for your answer :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants