Commit Graph

31 Commits

Author SHA1 Message Date
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