1
0
Fork 0
Commit Graph

50 Commits

Author SHA1 Message Date
nemunaire d0b1336d07 Use a logger 2014-08-14 12:50:19 +02:00
nemunaire 85981b4d99 Remove dead code: credits 2014-08-13 17:04:11 +02:00
nemunaire 99c6a5c271 Start a message by nemubot: is equivalent to talk in private message 2014-08-07 19:15:14 +02: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 21f2af1cad Alias module: add !alias to explain register alias, !unalias to remove alias; variables are now replaced in the Response
Variables are words starting by $. It is possible to escape a variable by prefixing the $ by a \
2012-11-04 04:03:11 +01:00
Némunaire 6c6a11b80c Fix DCC connections 2012-11-02 12:51:29 +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 d152ce71bd Fix !help 2012-09-02 19:17:43 +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 711cefe0c2 Use sender instead of nick in Response to allow sent by PM or over DCC, ... 2012-08-31 01:34:07 +02:00
Némunaire 5e52c4dbbb Introduce Response class and a new way to send message to user
Remove old send_* in Message class
!more is now a built-in command
2012-08-30 15:29:11 +02:00
Némunaire 52995e3f0e Fix DCC connexion 2012-08-27 23:45:57 +02:00
Némunaire f5166aca16 Message timestamping is done when the message arrive, not when it is parsed 2012-08-26 18:00:56 +02:00
Némunaire 926abd8806 Add pretreatment hooks 2012-08-23 01:54:39 +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
Némunaire 7f539c926b nemuspeak: factoring code with nemubot 2012-07-24 02:34:01 +02:00
Némunaire 8230ed39e9 Add a method to change a channel topic 2012-07-23 19:20:46 +02:00
Némunaire e9ae971621 Fix message decoding 2012-07-23 18:08:11 +02:00
Némunaire 9e7442ade7 Fix last DCC errors 2012-07-23 12:21:19 +02:00
Némunaire e4ea24bfa9 Based DCC connection state on realname instead of nickname and realname 2012-07-23 12:21:19 +02:00
Némunaire 336cab6b2a DCC class can now send files 2012-07-23 12:21:19 +02:00
Némunaire 9a6c1fbb7c In private message and DCC chat, nemubot don't require nemubot: 2012-07-23 12:21:19 +02:00
Némunaire bc860ef837 Change nickname/realname/fullname usage: now sender var contains fullname (nick\!real) and is used for server sent 2012-07-23 12:20:49 +02:00
Némunaire 469053a529 Cleaning DCC class
Accept DCC CHAT CTCP request
Disconnect DCC connexions when disconnecting the server
2012-07-23 12:19:56 +02:00
Némunaire 9d4cdc4931 Better messages decoding 2012-07-23 12:19:55 +02:00
Némunaire ef608c19e8 Working on DCC communication 2012-07-23 12:19:08 +02:00
Némunaire ffb3d368d8 Parse commands TOPIC 2012-07-20 19:15:01 +02:00
Némunaire f4d3c6a500 Fix bad parsing of JOIN command 2012-07-20 17:11:21 +02:00
Némunaire 05cf740151 New method send_msg_verified that checks the user is on the message destination channel 2012-07-20 03:24:51 +02:00
Némunaire 1f5127e921 Parse new commands: 332, 353, JOIN, MODE, NICK, PART, QUIT 2012-07-19 20:07:51 +02:00
Némunaire 26ce52b068 Fix error when no help message is defined 2012-07-19 02:18:21 +02:00
Némunaire 79251393ff Fix privmsg message split on : 2012-07-10 12:12:33 +02:00
Némunaire 3206a230d2 Use the old behavior when shlex throw an exception 2012-06-30 18:41:38 +02:00
Némunaire 0f502f5b22 Use shlex instead of split to split command passed to nemubot 2012-06-29 01:16:06 +02:00
Némunaire df4caf2e74 Add channel verification before read and parse a message 2012-06-19 21:40:59 +02:00
Némunaire 5a81fa9822 Remove ban support from message, separate credits into another file 2012-06-16 22:48:43 +02:00
Némunaire 25b2634ea3 Module_state done: global datas management
newnemubot replaces old one
2012-05-30 11:58:27 +02:00
Némunaire 684cecd137 Start ModuleStatesFile and ModuleState class 2012-05-23 12:29:36 +02:00
Némunaire 1bb3617049 Add join and part built-ins
Nemubot kernel working
2012-05-21 19:08:41 +02:00
Némunaire 716fa5675a Start reworking message.py
The reset command now reload server and message
2012-05-21 18:34:43 +02:00
Némunaire d7b4e198a5 Nemubot had now a shell.
server.py extends now Thread
2012-05-21 12:21:14 +02:00
Némunaire 31be5808e5 Some fixes 2012-05-18 11:38:50 +02:00
Némunaire 5004752660 Lot of fixes
Use a partner to transform nick to login_x
Add questions support into qd.py
2012-05-14 17:50:11 +02:00
Némunaire 69c5d06ed7 Add thread when doing long tasks 2012-05-03 16:16:38 +02:00
Némunaire f676ce11c6 Merge branch 'master' of /home/nemunaire/git/nemubot
Conflicts:
	nemubot.py
	watchWebsite.py
2012-04-30 18:22:10 +02:00
Némunaire e375f23f71 Stability improvements
New module whereis
2012-04-18 23:35:58 +02:00
Némunaire 2e461f26f4 Stability improvements 2012-04-16 18:28:43 +02:00
Némunaire 0c18611c7f New module: soutenance 2012-04-12 03:06:17 +02:00
Némunaire 4f0744ab24 Some code refactoring (use of class instead of tuples) 2012-04-11 17:33:57 +02:00
Némunaire 0f00e63ee3 New bot class and XML based working 2012-04-09 04:27:53 +02:00