ESN-Trondheim / ESNbot

A Slack bot for ESN Trondheim
MIT License
3 stars 1 forks source link

Support aliases for command #65

Open LaiAlexander opened 10 months ago

LaiAlexander commented 10 months ago

This should be a part of the registister_command() decorator from issue #36. Aliases should be a kwarg, with default value of none. Could register the alias as a "new" command in COMMANDS, or perhaps point the alias to the original command somehow. Could be a separate dictionary with the alias mapping.