node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. module.js:660:30
Add this line in top of js file.
process.env["NTBA_FIX_319"] = 1;
@sidelux Thank you so much!
You mean this file? module.js
In your js file (where you have coded your bot).
Thanks understood! :)
Add this line in top of js file.
process.env["NTBA_FIX_319"] = 1;
it's works , thanks so much !!!!!!!!!
@kamikazechaser what about closing and locking this discussion?
@alexandercerutti Yeah I think all question issues should be closed asap otherwise this repo may became another Stackoverflow.
Most helpful comment
Add this line in top of js file.
process.env["NTBA_FIX_319"] = 1;