Closed nzlosh closed 3 years ago
The test pipeline is failing but it seems to be something unrelated to the code changes I made.
ERROR errbot.repo_manager:repo_manager.py:167 Could not update from source https://repos.errbot.io/repos.json, keep the index as it is.
repos.errbot.io doesn't resolve from my machine for example.
@nzlosh fixed please retry. Sorry for that.
Rebased to cleanup the PR.
Any thoughts on including this PR in the next point release?
Can't see a reason why not.
Should I merge master?
@nzlosh This needs a rebase.
@sijis There were a few snags rebasing, but everything has been sorted for a merge to master.
Will this PR be include for the next release?
I can look to add it
When creating a dynamic command plugin that uses the
arg_botcmd
function, there is no obvious way to pass multiple arguments to the Command object as is the case when using the Decorator pattern with mutiple arguments.This pull request adds a new method
append_args
to the Command object which can take arguments and keywords. Below is an example of how this code would be used.