]> git.lizzy.rs Git - furrybot-discord.git/commitdiff
Tweak help command
authorElias Fleckenstein <eliasfleckenstein@web.de>
Sun, 6 Mar 2022 15:44:44 +0000 (16:44 +0100)
committerElias Fleckenstein <eliasfleckenstein@web.de>
Sun, 6 Mar 2022 15:44:44 +0000 (16:44 +0100)
basic.js

index c827bb9b11222321d75d6bb495937a32603e10f7..24171bf0274a65bff38ab4613f3827c046295f92 100644 (file)
--- a/basic.js
+++ b/basic.js
@@ -21,7 +21,7 @@ module.exports = {
                                else
                                        msg.reply(`Invalid command: ${cmd}`)
                        } else {
-                               msg.reply("Available commands:\n\t" + Object.keys(commands).join("\n\t"))
+                               msg.reply("Available commands:\n\n" + Object.keys(commands).sort().join(", "))
                        }
                },
        },