Ran yarn format

This commit is contained in:
2023-12-30 17:35:18 +01:00
parent 443c20a559
commit 7f7b14ce21
17 changed files with 61 additions and 40 deletions

View File

@@ -7,7 +7,7 @@ import { FileType } from "../../typings"
export default function loadSlashCommandsEvents(client: Client, ft: FileType) {
const cmdPath = path.join(__dirname, "..", "..", "commands")
const cmdFiles = fs .readdirSync(cmdPath) .filter(file => file.endsWith(ft))
const cmdFiles = fs.readdirSync(cmdPath).filter(file => file.endsWith(ft))
for (const file of cmdFiles) {
const filePath = path.join(cmdPath, file)
@@ -45,4 +45,4 @@ export default function loadSlashCommandsEvents(client: Client, ft: FileType) {
})
}
})
}
}