Using python decorators for registration

Using decorators for registration Using python decorators for registering command for a help-function in a slackbot. (with example) This implementation uses a global var as database for the commands. A decorator is run at import-time and basicly returns the new function to run. A decorator with arguments runs a decorator factory which returns a decorator, and then the decorator is run. [Read More]