Typescript Bugfixes (Switched CJS -> MJS)

This commit is contained in:
DJj123dj
2026-04-19 17:43:59 +02:00
parent 230ef70d86
commit 600419f763
96 changed files with 438 additions and 443 deletions
+3 -3
View File
@@ -25,7 +25,7 @@ const flags = [
////////// COMPILATION + STARTUP //////////
///////////////////////////////////////////
const framework = require("@open-discord-bots/framework")
framework.frameworkStartup(flags,"openticket",() => {
require("./dist/src/index.js")
import { frameworkStartup } from "@open-discord-bots/framework"
frameworkStartup(flags,"openticket",async () => {
await import("./dist/src/index.js")
})