sort help alphabetically

This commit is contained in:
1e99 2025-07-21 20:15:09 +02:00
parent ce5d6451c2
commit c63fb8ef37

View file

@ -14,6 +14,7 @@ export default class HelpCommand extends Command {
run(username, args) {
const msg = this.#commands.commands
.map(cmd => cmd.name)
.sort((a, b) => a.localeCompare(b))
.join(", ")
this.#chat.chat(msg)