Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
ian%hixie.ch 0db25f5b1d Better Unload handling for modules that need it. Introduce a way for modules to monitor pipes continuously (e.g. to watch the serial port or a socket). Better handling for when messages are repeated a lot in a row. Update documentation and modules to match. 2005-05-03 18:38:43 +00:00
ian%hixie.ch 25077e6cc0 Update documentation to match latest changes w.r.t. SpottedPart and SpottedQuit. Document 'unload' since three standard modules use it. 2004-01-27 01:42:28 +00:00
ian%hixie.ch 5b19b980a5 Minor documentation changes (nothing substantial) 2003-10-04 11:06:48 +00:00
ian%hixie.ch 31f4b76fbd Implement incoming Notice support in the BotModule APL. Bug 169882. Largely based on a patch by Ken Coar. 2003-10-03 23:35:49 +00:00
ian%hixie.ch d80d23f8f1 Bug 124748: Stop time drift once and for all by using a globally initialised time() value. This was done as a pretty blind search-and-replace, so may have caused regressions and may be non-optimal. Please file bugs if you spot problems. This adds the entry 'time' to the event object. 2003-10-03 15:47:35 +00:00
ian%hixie.ch af90e48a89 Bug 134617: Let users tell the bot to shut up. Adds a 'getMessageQueue' function to the bot API. Also fixes some unrelated minor issues in the developer documentation and makes a tiny optimisation in drainmsgqueue. 2003-10-03 15:08:42 +00:00
ian%hixie.ch 57e468fbbe Makes mozbot only mark joins as joined on a successful attempt. b=112049, r=kerz.
Implements getHelpLine and getModules API functions and updates documentation to match. b=130532, r=imajes.

Adds a notice() method to the mozbot API. Updates the documentation to reflect this. (Also updates the version and corrects a typo in the docs.) b=72960, r=timeless.

Fixes the problem whereby if a module doesn't load, it's not removed from the @modulenames list, which causes problems for modules that walk the @modulenames list to get each module in turn. b=133148, r=kerz.

The Log event for the Told event doesn't have the prefix text that made the event a Told event in the first place. This adds a field 'fulldata' to the event hash which will let loggers log the whole thing. Also updates documentation. b=133509, r=kerz.

Log events were not generated for events generated by the bot. This removes redundant checks to prevent that from happening (redundant since the server never sent us the messages in the first place) and then adds code to synthesise the relevant Log events. Updates the documentation to match. b=16226, r=kerz.

The Initialise handler was needlessly within the scope of an undef'd $/. This scopes the cause of this problem. b=131483, p=Robin Berjon, r=kerz, a=hixie.

Makes ctcpSend() send messages to the target, not the originator. This makes it work like say(). b=133140, r=caillion.

Adds a way to make the auth command not give confirmation feedback (quiet auth). b=134342, r=caillon.
2002-04-01 03:46:06 +00:00
ian%hixie.ch 293e551f9c Updating various version strings to 2.2. 2002-03-08 15:43:31 +00:00
ian%hixie.ch c50b3c77fe * Implement CTCP Ping, Version and Source as BotModule Event
* Added ctcpSend(), ctcpReply() APIs
* Implemented CTCP Version in the general module
* Updated devel docs
b=117625 r=Jake

* Remove brackets around grep() in mozbot.pl
b=111831 r=Jake
2002-02-12 14:51:59 +00:00
ian%hixie.ch cfc5246ba6 Fixing various typos and spelling mistakes spotted by timeless. There shouldn't be any code level changes here. moa=hixie 2001-04-29 08:35:29 +00:00
ian%hixie.ch 9660807d69 Updating mozbot to version 2.0: changed to a more modular architecture, added support for multiple channels, added support for multiple nicks, generally cleaned up the code, etc. Uses some code and ideas from timeless and zach. 2001-04-23 07:07:17 +00:00