ClemBot icon indicating copy to clipboard operation
ClemBot copied to clipboard

Add Commands Abbreviations

Open Exper1mental opened this issue 5 years ago • 1 comments

Got the idea while figuring out how to squash commits in Git Bash.

The following do the same thing:

git rebase -i 60042c8
git rebase --interactive 60042c8

My idea is to apply this same concept to commands we use with the bot. The (obvious) benefit is being able to reduce the typing required for commands while preserving the longer, more descriptive command names as well.

Example:

$ role add Junior

Could also be called using

$ -r -a Junior

or something like that.

Ideally we'd want to agree on a naming system for the abbreviations

Would tie in well with updating the help command (#127)

Exper1mental avatar Aug 10 '20 15:08 Exper1mental

This is easily accomplished by just adding an alias in the command decorator, see the assignables roles cog or the designated channels cog for an example

Jay-Madden avatar Aug 10 '20 16:08 Jay-Madden