#CommandStores not showing commands in order
1 messages · Page 1 of 1 (latest)
What is the order you're looking for? What method are you using to see the order in both bots?
this.container.stores.get("commands");
What order are you looking for (and why does it matter?)
on the development bot they showed in a alphabetical order
basically in the same order they are in vsc
I uploaded all the files at once in the host, could this be the reason of this?
Why does it matter?
You could sort them manually if you're displaying them through a help command or similar.
this.container.stores.get("commands").sort((a, b) => a.name.localeCompare(b.name))
Just found it weird that the commands weren't on the correct order