Tried to fix typescript not working on pterodactyl

This commit is contained in:
DJj123dj
2024-08-22 10:28:24 +02:00
parent 1dd8c0246a
commit 8e730fdfae
2 changed files with 13 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
/** === ALTERNATIVE STARTUP METHOD ===
* This file can be used to start the bot when the default `npm start` (npx tsx src/index.ts) doesn't work!
* It is not recommended to use this by default, but it is a backup option for certain panels that don't support typescript.
*
* RECOMMENDED ON:
* - pterodactyl based panels
* - pebblehost
* - and more
*/
import "tsx"
import("./index.ts")