help command includes the prefix

This commit is contained in:
1e99 2025-07-23 16:11:27 +02:00
parent 963a947a83
commit 07306a47ea

View file

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