Tulir Asokan
aac1f267d7
Fix exception when running subcommand without enough arguments
2020-03-25 21:26:17 +02:00
Tulir Asokan
293b44729c
Try to make commands case insensitive. Should fix #83
2020-02-25 22:33:19 +02:00
Tulir Asokan
bb45218639
Fix splitting arguments when command has newlines
2019-11-17 22:31:02 +02:00
Lorenz Steinert
2d1560e92a
fix start and end positions of match
...
the `match.pos` and `match.endpos` are not the start and end of the matched
group but the start and end arguments passed to the `re.match()` method.
use `match.start()` and `match.end()` to find the beginning and the end of
the matched group.
see https://docs.python.org/3/library/re.html#match-objects
2019-10-16 16:08:01 +02:00
Tulir Asokan
7b4d3e8313
Fix bug with default __mb_is_command_match__ impl when using lambda command names
2019-06-20 16:55:55 +03:00
Tulir Asokan
8b5eb1849b
Pass correct self to command aliases func
2019-06-12 20:58:22 +03:00
Tulir Asokan
4210f3195f
Update copyright year
2019-06-08 17:42:07 +03:00
Tulir Asokan
e565b99826
Pass extra info to argument parsers and add dateparser to temporary dockerfile dependencies
2019-06-08 12:31:38 +03:00
Tulir Asokan
9bd06a3d64
Add web handler decorators
2019-05-14 18:32:48 +03:00
Tulir Asokan
2bf1c41b53
Fix __mb_is_command_match__
2019-02-17 15:57:55 +02:00
Tulir Asokan
f548e17c80
Fix regex flag args
2019-02-05 12:27:19 +02:00
Tulir Asokan
a57df919f5
Fix passive command matching and add regex flag args
2019-02-05 12:08:21 +02:00
Tulir Asokan
8b5c637f76
Fix CommandHandler descriptor
2019-01-18 22:58:43 +02:00
Tulir Asokan
4ea980cb93
Fix typo
2019-01-18 21:31:39 +02:00
Tulir Asokan
b926f1e59d
Fix active command handlers for multi-instance plugins
2019-01-18 21:26:04 +02:00
Tulir Asokan
9d38c43576
Fix mistake in __mb_subcommands_list__
2019-01-15 15:47:30 +02:00
Tulir Asokan
c4c7bdc76b
Add event type filter to command handling system
2019-01-08 21:17:41 +02:00
Tulir Asokan
88c2f9d463
Add support for command aliases and dynamic command names
2018-12-26 18:38:56 +02:00
Tulir Asokan
0cf06f9f6b
Make new command handling system fully work
2018-12-25 00:37:02 +02:00
Tulir Asokan
5ff5eae3c6
Make new command handling actually somewhat work
2018-12-24 00:31:01 +02:00
Tulir Asokan
682eab348d
Some sort of command handling system
2018-12-18 00:53:39 +02:00
Tulir Asokan
f104595217
Changes related to rewriting the command handling system
2018-12-16 00:52:54 +02:00