Fix maybe

This commit is contained in:
Dennis Postma 2024-09-30 22:17:14 +02:00
parent 34ed2ba7cb
commit 6a286590b4

View File

@ -58,7 +58,7 @@ class CommandManager {
}
private async loadCommands() {
const commandsDir = path.resolve(process.cwd(), 'src', 'commands')
const commandsDir = path.join(process.cwd(), 'src', 'commands')
try {
const files: string[] = await fs.promises.readdir(commandsDir)