Closed valentineu0 closed 3 weeks ago
can't reproduce..?
same lol
Still command not updating unless bot is restarted
does this still happen with v6.8.0?
After v6.8, a single loadCommands runs the code properly, but when two different folders are requested to be loaded, a single loadCommands takes effect.
The reason why the error report was opened was fixed in v6.8 (except for the part I additionally stated above).
After v6.8, a single loadCommands runs the code properly, but when two different folders are requested to be loaded, a single loadCommands takes effect.
![]()
![]()
The reason why the error report was opened was fixed in v6.8 (except for the part I additionally stated above).
this is intended as client.loadCommands doesn't do a single loader ,
it creates a loader , loads the cmd and closes itself
which is why if u use the second one , the first one would get override
I recommend using the old setup if u are doing multiple folder loading 👍
Issue been solved above, if there is needed for nested it can be added quickly but doesn't seem necessary.
Bug Type
Function
Bugged Function
Version of aoi.js
v6.7.1
Version of Node.js
v20.10.0 (LTS)
Excepted Output
Files with the old loader
loader.load(bla bla bla, "./commands")
can be reloaded with $updateCommands, but this does not work on the new loaderclient.loadCommands("path", log true/false)
.Relevant log output
Code of Conduct