ESN-Trondheim / ESNbot

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

Support aliases for command #65

Open LaiAlexander opened 1 year ago

LaiAlexander commented 1 year 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.