Closed amanape closed 1 year ago
Running DEBUG='*' node dist/bot.js
gives me
grammy:bot Initializing bot +0ms
grammy:core Calling getMe +0ms
grammy:bot I am BT11829Bot! +285ms
grammy:core Calling deleteWebhook +285ms
I faced the same issue (v1.15.0). Solved by using v1.14.1 instead.
I have the same issue regardless of whether I'm using nodemon or deno
[nodemon] clean exit - waiting for changes before restart
Right, that was stupid. You found it, do you quickly wanna fix it?
@all-contributors add @amanape for bug
@KnorpelSenf
I've put up a pull request to add @amanape! :tada:
I'll take this then.
Please review #384.
Everything was working fine earlier today, I run
tsc
and thennode dist/bot.js
to run my bot. Then, after deletingnode_modules
and reinstalling the deps, node immediately ends the process after a second of starting without any error or warning.RESPONSE:
The strangest thing of all is that the same behaviour persists even if I replace all the source code in my main
bot.ts
file with the most basic examplepackage.json
Could it be something related to my account or token itself? I tried generating new ones, and node just ended in 3 seconds instead of 1 second but only on the first time I run the command.