voximity / qubit

Qubit, a Discord bot. Contains no code.
3 stars 1 forks source link

Autofilling input #10

Open TomSmithThe3rd opened 6 years ago

TomSmithThe3rd commented 6 years ago

When checking through commands I don't want to type "moderation" to check the commands list so how about you write some of the command (\cmds mod) and it autofills in the background and shows you the moderation commands, but if you have overlapping commands (say we have moderation and minecraft and someone just wrote \cmds m) the bot would output an error that you need to be more specific.

wilcoxm commented 6 years ago

\cmds mods should show the help too.

TomSmithThe3rd commented 6 years ago

Sure it should but only because the bot has been taught to do so. I want to be able to just write \c m and get the moderation commands.

voximity commented 6 years ago

I'm OK with adding autofill for the command categories, but I won't be adding autofill for commands themselves. That goes against the Discord bot Best Practices, which states the bot should only speak when a valid command is triggered. With enough commands, you could put literally any character after the prefix and the bot would find a way to correct you. Literal command names only.