679f50b730
alias: fix lookup replacement when empty list
2017-07-14 12:30:21 +02:00
2334bc502a
alias: add syntax to handle default variable replacement
2017-07-14 12:30:21 +02:00
c3f2c89c7c
alias: only perform alias expansion on Command
2017-07-14 12:30:15 +02:00
abf810209e
[alias] Fix empty error message
2016-04-18 17:21:51 +02:00
a05821620d
[alias] Allow arguments only on Command
2016-04-08 12:55:23 +02:00
09e3b082c1
[alias] Give near alias in case of error
2016-01-24 18:44:28 +01:00
d028afd09e
[alias] use subparse method
2016-01-19 14:50:47 +01:00
bd2eff83b7
[alias] Use alias command to display and define new aliases
2016-01-15 18:56:56 +01:00
6fc6561186
[alias] Fix parsing error when creating a (not allowed) spaced alias
2015-12-21 14:50:47 +01:00
43c42e1397
Rework hook managment and add some tests
2015-11-18 20:21:05 +01:00
7ae7e381c3
[alias] Forward command keywords
2015-11-18 19:58:03 +01:00
f39a0eac56
Refactors hooks registration
2015-11-03 16:53:49 +01:00
8b4f08c5bd
Replace IRCException by IMException, as nemubot is not only built for IRC
2015-11-03 07:21:06 +01:00
ac33ceb579
Remove dead or useless code
2015-11-03 07:20:52 +01:00
dbca402fe7
[alias] Use title in response
2015-10-19 17:15:42 +02:00
db70974504
[alias] Fix old issues
2015-10-08 18:25:57 +02:00
a6a10b78d1
Fill help in some modules
2015-10-07 18:22:01 +02:00
Max
e1310516fa
[alias] Fix argument consumption, allow multiple usage of same var
2015-10-07 00:14:37 +01:00
Max
461c62f596
Fix alias ranges
...
Args are now consumed when in ranges, and ranges with 1 bound now work
2015-10-06 23:23:42 +01:00
ac3ed0d492
[alias] huge refactoring
2015-09-24 11:29:44 +02:00
3c15d35fca
[alias] Dusting module
2015-08-26 12:18:21 +02:00
3b8195b81b
[alias] Variable replacement can operate on slice list.
...
In addition to ${1}, ${2}, ... you can now use slice: ${1:5} or ${1:}.
The effect is to join arguments with a space character.
2015-08-26 12:17:20 +02:00
5f29fe8167
[alias] Allow anyone to remove an alias
2015-06-24 20:05:59 +02:00
889b129da3
[alias] Fix #86
2015-06-24 20:05:58 +02:00
ed6da06271
[alias] Fix #83
2015-06-24 20:05:58 +02:00
cacf216e36
[alias] Fix #85
2015-06-24 20:05:57 +02:00
c0e6b26b0c
[alias] Fix variable replacement in aliases
2015-06-24 20:05:55 +02:00
c8d495d508
Split messages class into multiple files
2015-05-25 16:44:27 +02:00
28005e5654
Convert modules to new importer
2015-02-11 18:12:39 +01:00
e225f3b8d7
import ModuleState when needed
2015-01-05 10:18:40 +01:00
06c85289e0
Don't import some nemubot module automatically
2015-01-05 02:49:06 +01:00
7c7b63634b
[wip] in modules, changes import to reflect new directory structure
2015-01-05 02:49:05 +01:00
2dfe1f0e9a
PEP8 clean
2014-11-13 15:52:04 +01:00
e1aff6c4cf
channel or nick required when creating a Response
2014-11-13 14:51:18 +01:00
77b897a1e3
Fix in modules: is_owner is now frm_owner
2014-11-03 15:43:39 +01:00
dfde4c5f49
New message processing
2014-10-07 00:21:14 +02:00
c5a69f1bd0
Internal timezone is now UTC
2014-10-01 00:14:27 +02:00
41da1c0780
Response class is now part of 'more' module.
...
This commit prepare the new message flow based on protocol independent messages.
This commit changes the module API: you need to import the Response class manually at the begining of our module.
2014-09-27 12:39:44 +02:00
772d68a34d
Response sender is not needed anymore, private channels are now better handled
2014-09-18 07:57:06 +02:00
edbfac2943
Alias module: avoid infinite recursion if an alias substitute by the same command
2014-09-15 07:55:35 +02:00
3bc53bb4ef
Introducing new hooks manager
...
Currently, the manager use a naive implementation, this is
mainly for architectural testing purpose.
2014-09-01 19:21:54 +02:00
0a16321259
(wip) reworking of the Message class; backported from v4
2014-08-29 17:12:12 +02:00
4b9a6305d4
Legacy hooks now need to be explicitely declared
2014-08-28 18:05:21 +02:00
cd7843e16e
Replace help_tiny by module docstring
2014-08-28 01:39:31 +02:00
94a9a9a30b
Switch to v3.4 branch
2014-08-13 15:53:55 +02:00
fe0f120038
Using newly added Python decorator for hook registration
2014-08-13 15:14:41 +02:00
22b6392cc8
Alias module: can create of aliases; fixes #27
2014-08-08 19:07:55 +02:00
b34a73cea6
Fix exception on empty message
2014-08-04 02:32:29 +02:00
3e014d4ebe
Alias: add commands to list aliases and variables; fixes #49
2014-06-30 10:59:25 +02:00