1
0
Fork 0
Commit Graph

18 Commits

Author SHA1 Message Date
nemunaire d0b1336d07 Use a logger 2014-08-14 12:50:19 +02:00
nemunaire 23bc61cce0 Can register hooks thanks to Python decorator; fixes #43 2014-08-12 20:08:55 +02:00
nemunaire 26502abe35 New exception: IRCException
When raised in a module, respond in the channel with the given string as Response content
2014-04-30 22:19:32 +02:00
Némunaire 3aa705dfb6 Fix conditions to validate a hook 2013-01-01 16:13:58 +01:00
Némunaire 48fe794a7b In module XML, attribute data is passed to the hook 2012-12-08 09:19:27 +01:00
Némunaire b477d5b8b7 Improve bots network: when two connected bots are on the same channel, only one answers to the user 2012-11-08 14:54:05 +01:00
Némunaire b84357725b New method to clear hooks 2012-11-08 13:24:18 +01:00
Némunaire c6d5d88723 Apply v3.3 changes on various modules 2012-11-04 15:32:39 +01:00
Némunaire dc52593953 Add new hook that treat all messages, not only PRIVMSG ; can respond with a response.Hook to create a hook 2012-11-04 04:35:40 +01:00
Némunaire a62940380e Introducing a new nemubot architecture for servers and messages treatment: messages have no more context or server 2012-11-02 12:10:37 +01:00
Némunaire 7de644a784 Properly disconnect DCC connexion when any part leave 2012-10-15 01:15:07 +02:00
Némunaire 6c7be6761e A warning is raised when adding a hook without attached module (for unload) 2012-10-04 13:50:48 +02:00
Némunaire fc396ef313 Unload a module now unsubscribe auto-registered hooks 2012-09-02 19:17:42 +02:00
Némunaire a2d9757d06 Add the ability to talk with other nemubot over DCC 2012-08-31 05:21:19 +02:00
Némunaire 99e91af2cb Automatically load Response and ModuleState in each nemubot modules 2012-08-30 18:26:36 +02:00
Némunaire 68c88fc864 Fix message hooks 2012-08-22 21:52:49 +02:00
Némunaire 7e20368c10 Hook factorisation ; add new hooks : default (same comportement has previous version) and one hook before any parsing
When calling a hook, passed parameters change according to associated data variable
2012-08-22 21:09:20 +02:00
Némunaire e4d4e68c45 Introduce nemubot v3.2
- New licence: AGPL3 instead of GPL3
	- Import is now based on finder and loader instead of sys.path
	- Modules used hooks to treat message instead of treating all messages
	- Remove a lot of builtins from the prompt
	- Prompt: ^C and ^D have now correct feature (nothing and exit)
2012-08-14 05:51:55 +02:00