Fix maybe
This commit is contained in:
parent
34ed2ba7cb
commit
6a286590b4
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user