Added export for client

This commit is contained in:
2023-12-29 17:47:14 +01:00
parent dc757ed179
commit 89ad68d1a5
2 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import Illegitimate from "./utils/Illegitimate" import Illegitimate from "./utils/Illegitimate"
const illegitimate = new Illegitimate() const illegitimate = new Illegitimate.Bot()
illegitimate.start() illegitimate.start()

View File

@@ -6,7 +6,7 @@ import init from "./Init"
import { loadCronEvents } from "./Cron" import { loadCronEvents } from "./Cron"
const client = new Client() const client = new Client()
export default class Illegitimate { class Bot {
constructor() {} constructor() {}
async start() { async start() {
@@ -21,3 +21,5 @@ export default class Illegitimate {
}) })
} }
} }
export default { Bot, client }