Updated imports and formating

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-01-16 17:05:15 +01:00
parent ee0250ed5e
commit 5661bc66bb
49 changed files with 819 additions and 491 deletions

View File

@@ -1,7 +1,7 @@
import { ExtendedClient as Client } from "utils/Client"
import { Event } from "interfaces"
import path = require("path")
import fs = require("fs")
import path from "path"
import fs from "fs"
export default function loadEvents(client: Client) {
const serverDir = path.join(__dirname, "..", "..", "events", "server")