Read the statement by Michael Teeuw here.
TelegramBot runs multiple times
-
@cfenner
It doesn’t work on multi-instances. If you run two fronts ui at the same time, the error will happens.
How to overcome? Well, there be almost no solution for that.
Maybe you can modify node_helper.js not to execute one more instance from another front but I’m not sure that is what you really want. -
Maybe the
node_helper
should only be initialized for the first time: -
I have already try to allow multi insence but TB sever refuse it
So, I can’t do something for this -
@bugsounet Just to clarify, I think we don’t need multiple bot instances, just reuse one bot instance from multiple UI instances.
I files a PR for prevent re-initialization if there is already a bot.
-
@cfenner I have commit for purpose un dev branch, I will see main code maybe I will made some change this week.
Naturally, I will push it soon ;)
Thx for your purpose :)
-
@cfenner: pushed in master with v1.4.0
- Added: Your purpose code
- Added: Protect for duplicate message
- ToFix: Screenshot with scrot prog (scrot don’t return the last file link)
-
@bugsounet thanks, i have no issues anymore.