Commit Graph

364 Commits

Author SHA1 Message Date
Jeremy Fincher
e745ec6d88 It's a string, not an integer, idjit! 2003-07-02 19:00:43 +00:00
Jeremy Fincher
df02bd593e Fixed plurality problem in gkstats. 2003-07-02 18:58:45 +00:00
Jeremy Fincher
440a336010 Added relaywhois command. 2003-06-22 16:17:33 +00:00
Jeremy Fincher
e689904c90 Changed me handling in lart. 2003-06-18 06:45:21 +00:00
Jeremy Fincher
d9399fb304 Added urllib.unquote to foldoc error message. 2003-06-14 10:40:52 +00:00
Jeremy Fincher
73c3b811aa Changed style of ord command to be cleaner. 2003-06-13 16:53:33 +00:00
Jeremy Fincher
046c6998e4 Fixed binary command. 2003-06-12 16:05:27 +00:00
Jeremy Fincher
1a704ef1f7 Made Markov module threaded. 2003-06-10 16:51:21 +00:00
Jeremy Fincher
a6d9ee029f Fixed the null nick problem with the IRC bot's own messages. 2003-06-10 07:31:11 +00:00
Jeremy Fincher
1131cc4f15 Changed format of ACTIONs to match normal PRIVMSGs. 2003-06-05 21:03:22 +00:00
Jeremy Fincher
82bb295b20 Fixed enqueuing in deepthought. 2003-06-03 05:24:21 +00:00
Jeremy Fincher
ee805e2860 Fixed IndexError on empty deepthoughtq. 2003-06-03 03:25:19 +00:00
Jeremy Fincher
800efee2ea Removed spurious quoting from acronym. 2003-06-02 07:21:35 +00:00
Jeremy Fincher
4be5d42dc5 Fixed Http.deepthought to queue thoughts and to import structures for such queueing. 2003-06-02 06:55:51 +00:00
Jeremy Fincher
f0c32e039d Stupid SyntaxError...grrr... 2003-06-02 06:51:09 +00:00
Jeremy Fincher
0f018d0221 Changed acronym to allow as many acronyms as possible. 2003-06-02 06:46:40 +00:00
Jeremy Fincher
b6e9d10a96 Added import sre_constants. 2003-06-02 06:42:15 +00:00
Jeremy Fincher
f10eff889d Added import utils. 2003-06-02 06:41:35 +00:00
Jeremy Fincher
9bf2b8a624 Handled case in last where argument isn't an integer. 2003-06-02 05:57:54 +00:00
Jeremy Fincher
c31078339b Failed google now handled in googleSnarfer. 2003-06-02 05:53:16 +00:00
Jeremy Fincher
663a9f75ae Failed regexp now handled in googlegroups. 2003-06-02 05:48:57 +00:00
Jeremy Fincher
c5e1e8e89a Fixed NameError in topic. 2003-06-02 05:42:57 +00:00
Jeremy Fincher
6f7e3e53c1 Moved queue from fix to structures. 2003-05-29 16:35:35 +00:00
Jeremy Fincher
5bc901e125 Changed foldoc to hopefully stave off the empty return. 2003-05-23 05:46:33 +00:00
Jeremy Fincher
09340376cb Changed utils.timeElapsed to use just a seconds instead of a now/then argument. 2003-05-20 15:37:25 +00:00
Jeremy Fincher
b633960740 Fixed lart code not to lart the bot himself. 2003-05-16 18:04:46 +00:00
Jeremy Fincher
26f185c0e9 Changed some formatting of command relays. 2003-04-30 14:49:09 +00:00
Jeremy Fincher
6822cc31a7 Better error handling for title command. 2003-04-29 15:40:02 +00:00
Jeremy Fincher
d7bdb77538 Fixed bug in googlesite. 2003-04-29 15:34:27 +00:00
Jeremy Fincher
b1e95f8b64 Started trying to make factoids useful. 2003-04-29 13:25:40 +00:00
Jeremy Fincher
670669fe68 Initial checkin. 2003-04-29 13:08:39 +00:00
Jeremy Fincher
45cdde675c Added title command; fixed a latent bug or two. 2003-04-29 06:48:54 +00:00
Jeremy Fincher
b037bcda4b Changed to only message doJoin when the user hasn't been notified of new messages. 2003-04-25 08:49:02 +00:00
Jeremy Fincher
8d0d138850 Updates to variable names and whatnot. 2003-04-24 17:36:25 +00:00
Jeremy Fincher
4f094a2e83 Changed utils.shrinkList to ircutils.shrinkList. 2003-04-24 16:35:20 +00:00
Jeremy Fincher
3620be1ed2 Forgot the utils. 2003-04-23 22:38:38 +00:00
Jeremy Fincher
0cc386e7f7 Change notification to only-notify-of-unnotified-messages. 2003-04-23 22:32:55 +00:00
Jeremy Fincher
5045894dcc Changed the order of __init__s (yeah, I'm a dork). 2003-04-22 11:24:57 +00:00
Jeremy Fincher
c39fba7b0b Syntax fix for SQL. 2003-04-21 13:07:01 +00:00
Jeremy Fincher
c46ae750f6 Removed spurious parentheses. 2003-04-20 21:56:08 +00:00
Jeremy Fincher
80e4dfbe63 Added world.threadsSpawned, logging of the number of threads spawned, and added the information to cpustats. 2003-04-20 16:15:35 +00:00
Jeremy Fincher
e06ce955fa Changed formatting of rpn in case of a non-empty stack. 2003-04-20 09:04:27 +00:00
Jeremy Fincher
b9153e5ad0 Added rpn command. 2003-04-20 08:52:59 +00:00
Jeremy Fincher
11a674eb2b Added handling for case of a channel with no pairs/follows. 2003-04-20 07:15:31 +00:00
Jeremy Fincher
f8bc027ede Added morehelp for the whole module. 2003-04-20 06:26:17 +00:00
Jeremy Fincher
4b3c9162b9 Added something to stop assertion errors in case of ChanServ stuff. 2003-04-20 01:40:55 +00:00
Jeremy Fincher
7971760790 Forgot to import drivers. 2003-04-20 00:10:53 +00:00
Jeremy Fincher
85abb8c3bb Fixed strange editing error. 2003-04-20 00:00:37 +00:00
Jeremy Fincher
ee74036505 Changed to be driver-module independent. 2003-04-19 23:51:11 +00:00
Jeremy Fincher
499507c103 Fixed tyop. 2003-04-19 22:38:40 +00:00
Jeremy Fincher
ed06656025 Moved google groups snarfer to the Google module. 2003-04-19 22:16:57 +00:00
Jeremy Fincher
43ae9188b5 Changed format of rssinfo command. 2003-04-19 21:40:39 +00:00
Jeremy Fincher
747d48c7ab Changed a few SQL statements and added oldnotes command. 2003-04-19 21:40:04 +00:00
Jeremy Fincher
ab7fd51ddd Changed morse/unmorse and related stuff to be (hopefully) clearer. 2003-04-19 21:39:23 +00:00
Jeremy Fincher
85331d2848 Added support for old google (the crazy irc bot)-style google responses. 2003-04-19 21:38:38 +00:00
Jeremy Fincher
1c49500263 Added strtranslate, strupper, and strlower. 2003-04-19 21:23:05 +00:00
Jeremy Fincher
8054a1cf5d Changed format slightly in rssinfo. 2003-04-19 07:03:29 +00:00
Jeremy Fincher
7e56114971 Normalize whitespace in rssinfo. 2003-04-19 07:01:01 +00:00
Daniel DiPaolo
99666246ed * Corrected the gameknot Forums regex to not require the ("&r=\d+") part since
not all the URLs necessarily have it.
* Added the game title to the output as well (haven't done a ton of testing on
  the regex, but it worked on every game I tried it on)
2003-04-19 04:43:46 +00:00
Jeremy Fincher
c506306635 Changed size of results and removed list of commands. 2003-04-18 14:47:52 +00:00
Jeremy Fincher
fa53cf34d5 Rewrote dict command. 2003-04-18 08:20:27 +00:00
Jeremy Fincher
c99f68894a Changed to use ircutils.shrinkList. 2003-04-18 08:19:22 +00:00
Jeremy Fincher
b321ca8bb9 Wrong number of arguments on error. 2003-04-17 10:07:06 +00:00
Jeremy Fincher
32268cdef8 Removed unused import. 2003-04-17 10:06:29 +00:00
Jeremy Fincher
ba67e2c8e0 Made it htmlToText headlines. 2003-04-17 10:06:11 +00:00
Jeremy Fincher
8d50d79e7a Added new getopt capability to google command. 2003-04-17 10:05:22 +00:00
Jeremy Fincher
e9e81227eb Initial import. 2003-04-17 09:59:22 +00:00
Jeremy Fincher
df3dcb7e2a Various updates. 2003-04-17 08:39:04 +00:00
Jeremy Fincher
5a11ebd8bd Fixed searchports somewhat. 2003-04-16 15:15:41 +00:00
Jeremy Fincher
110eb47529 Qualified foldoc raise of ArgumentError. 2003-04-16 08:35:13 +00:00
Jeremy Fincher
aafc138745 Fixed permissions bug. 2003-04-16 08:34:44 +00:00
Jeremy Fincher
42e1a7ca34 Added morehelps to all commands. 2003-04-16 08:26:58 +00:00
Jeremy Fincher
243e6eaa7c Removes list of commands in module docstring. 2003-04-16 07:22:06 +00:00
Jeremy Fincher
b11c3f4a8b Added notification on join of unread/unnotified messages. 2003-04-16 07:21:06 +00:00
Jeremy Fincher
481c9f31ac Fixed changetopic to use utils.perlReToReplacer and added help/morehelp for all commands. 2003-04-16 07:11:28 +00:00
Jeremy Fincher
d5484f620f Added final morehelp docstring. 2003-04-16 07:10:31 +00:00
Jeremy Fincher
cd73dfbc52 Changed formatting in presence of lacking titles and made it respond with as many results as it can. 2003-04-16 07:07:39 +00:00
Jeremy Fincher
9941d3534c Updated significantly; channelstats command added, bug fixed (frowns was only counting smileys) 2003-04-16 06:44:30 +00:00
Jeremy Fincher
aecad2fc58 Changed re command to use new utils functions. 2003-04-16 05:28:35 +00:00
Jeremy Fincher
b40431cf31 Added docstrings and method skeleton. 2003-04-15 23:29:40 +00:00
Jeremy Fincher
82c7d586ef Began switch to allow notifications. 2003-04-15 19:11:12 +00:00
Jeremy Fincher
f67fa45395 Added repr command and fixed strsplit. 2003-04-15 15:59:40 +00:00
Jeremy Fincher
25d90d6e43 Changed a few typos: irc.users -> ircdb.users. 2003-04-15 15:37:35 +00:00
James Vega
78687027b0 Fixed gkstats so that it doesn't display duplicate text with gkseen 2003-04-15 01:43:23 +00:00
James Vega
c7a867b589 The 'seen' regex for gkstats was changed back to searching through text instead of html. 2003-04-14 16:49:20 +00:00
Jeremy Fincher
c251ad32f3 Various code changes. 2003-04-14 15:10:38 +00:00
Jeremy Fincher
ea7a319157 Forgot to map(len, L). 2003-04-14 14:50:35 +00:00
Jeremy Fincher
7f21380417 Forgot to import operator. 2003-04-14 14:49:02 +00:00
Jeremy Fincher
71d13d49bb Forgot to self. cursor. 2003-04-14 14:47:49 +00:00
Jeremy Fincher
250cf8a95a Changed implementation of notes command. 2003-04-14 14:47:02 +00:00
Daniel DiPaolo
24234810fb Fixed gkstats to not break on people hiding their online status. (closes:
#720926)
2003-04-14 06:59:21 +00:00
Jeremy Fincher
0d99f0662a Removed makePrivate. 2003-04-14 06:57:41 +00:00
Jeremy Fincher
c6e47e6e12 Bugfix, hopefully 2003-04-14 05:38:44 +00:00
Jeremy Fincher
217f30ba7b Bugfix, hopefully 2003-04-14 05:35:02 +00:00
Jeremy Fincher
fd22551da9 Commented-out debugging printfs. 2003-04-14 05:32:31 +00:00
Daniel DiPaolo
4b0fd19e6c Overhaul of RSS.py:
* Changed caching mechanism to cache the entire feed instead of just the
  responses
* Added 'rssinfo' command to access the RSS info elements like URL,
  description, last updated time, etc.
* Updated docstrings and configure for the 'rssinfo' command
2003-04-14 05:17:49 +00:00
Jeremy Fincher
4caedf25b6 Converted some %d to %s. 2003-04-14 04:49:35 +00:00
Jeremy Fincher
662024d63d Changed ChannelLogger to only log channels. 2003-04-12 12:20:00 +00:00
Jeremy Fincher
066ed44b04 Changed seen to use utils.timeElapsed. 2003-04-12 10:39:04 +00:00
Jeremy Fincher
f6a286b311 Fixed makeNewAlias to allow and better argument handling. 2003-04-12 10:26:05 +00:00