Added bun bundle

This commit is contained in:
2025-08-10 20:57:27 +02:00
parent 30e18257d0
commit b4f0a2c8dc
16 changed files with 88 additions and 98 deletions

View File

@@ -7,9 +7,12 @@ import { log } from "./Logger"
const client = new Client()
const redis = new RedisClient(env.prod.REDISURI)
const ft = process.env.BUILD !== "true" ? "ts" : "js"
const folder = process.env.BUILD !== "true" ? "src" : "dist"
class Illegitimate {
async start() {
await loadAllEvents(client)
await loadAllEvents(client, ft, folder)
await client.start()
await this.databases()
this.loadMethods()