So there is just 1 quirk with getting TS line numbers in your stack traces. In particular when runni

So there is just 1 quirk with getting TS line numbers in your stack traces. In particular when running in a docker container but the fix can't hurt to always apply. Run your bot with --enable-source-maps

So
node --enable-source-maps dist/MyBot.js


For Skyra we set the flag through env for docker but also for good measure in the
start
script.

I never needed the flag when running on regular Windows or MacOS but idk about Linux.
Was this page helpful?