Commit Graph

352 Commits

Author SHA1 Message Date
Patrick Hurst 219fe44d61 add fudge dice
fudge dice are dF's, and are either -1, 0, or +1
2010-08-22 20:15:24 -04:00
Patrick Hurst d34421bd23 change VERSION string
use git describe --always to return a 'version number'
2010-08-22 20:07:27 -04:00
Ryan Hitchman 0b11684197 see bots 2010-08-11 02:31:40 -06:00
Ryan Hitchman 761a012149 minor changes 2010-08-10 13:38:09 -06:00
Ryan Hitchman b5be0217a4 make .dict handle unicode properly 2010-07-24 17:38:28 -06:00
Chris Skalenda 4f5cf197be dotnetpad: make end of line comments work. 2010-07-17 16:52:21 -06:00
melonhead 93f626c482 Removed debug print lines from URL normalizer 2010-07-14 16:48:18 -04:00
melonhead 61c42e7d8a urlhistory: main regex no longer matches 'http://' or 'www.'
urlhistory: added URL normalization for Amazon, Waffleimages, and Youtube
2010-07-14 16:45:26 -04:00
Chris Skalenda b9f74dba71 Handle blank descriptions from google in the google search plugin. 2010-07-08 19:18:25 -06:00
Ryan Hitchman b0259336cd report options when given ambiguous command, make .dict report which word the definition is for 2010-07-08 11:22:43 -06:00
Ryan Hitchman fdf685161e add .o/.oblique command running, see http://github.com/nslater/oblique for more information 2010-06-17 21:55:42 -06:00
Ryan Hitchman 49ba4c5753 add .etymology, courtesy of GhettoWizard 2010-05-11 16:48:05 -06:00
Ryan Hitchman b845bfcf25 hurf (I should stop doing whitespace changes that break things) 2010-05-10 18:02:15 -06:00
Ryan Hitchman 420c8f518d fix command disable bug 2010-05-10 17:59:34 -06:00
Ryan Hitchman 6452c1169c disable !command, enable fuzzy command matching, make help automatic, add disabled_command (for fuzzy command match disabling), misc bugs 2010-05-07 17:16:44 -06:00
Ryan Hitchman e5b623cb68 make '.q add @person blah' possible 2010-04-25 15:40:59 -06:00
Ryan Hitchman 1005537e63 .dict/.define (courtesy GhettoWizard), move more stuff into the http library 2010-04-25 15:39:31 -06:00
Ryan Hitchman f61895fdc3 pep8 2010-04-22 21:50:56 -06:00
Ryan Hitchman e55774b770 refactor http (and html, xml, json) handling into util/http.py (not done for dotnetpad), fix mtg, remove dict & goonsay 2010-04-22 21:47:41 -06:00
ipsum 148733567e pep8 2010-04-18 13:24:17 -04:00
ipsum 3a2bd24352 updated tf.py to use better syntax 2010-04-16 20:29:12 -04:00
ipsum f22f4770cd added tf.py for counting hats in team fortress, blame gobiner 2010-04-16 17:55:02 -04:00
Ryan Hitchman 63fea08924 add .dict/.define command, respond to CTCP VERSION 2010-04-13 20:57:52 -06:00
Ryan Hitchman 04b1a718f1 fix remember, make tell use notices, remove re because of abuse 2010-04-13 15:39:40 -06:00
Ryan Hitchman a21f27e64e add koran scraping, courtesy GhettoWizard 2010-04-10 16:05:06 -06:00
Ryan Hitchman 62cc0490d1 add simple plugin disable config option 2010-04-06 02:36:43 -06:00
Ryan Hitchman 2a11825779 PEP8 compliance, reduce munging on tagged names 2010-03-27 02:42:27 -06:00
Ryan Hitchman 9a9922a3ca fix tag u'' display 2010-03-26 23:19:19 -06:00
Ryan Hitchman 89d973080f add tagging with nick obfuscation to avoid hilights 2010-03-26 23:12:26 -06:00
Ryan Hitchman c478e4f2b4 improve bf +[,.] handling 2010-03-23 16:34:58 -06:00
Ryan Hitchman 0cfd902b41 merge 2010-03-22 02:16:59 -06:00
Donald von Stufft 8b08a10afc added interaction with goonsay.com 2010-03-21 02:58:01 +00:00
Ryan Hitchman d4ad562a5a improve quote retrieval regex and some exception handling 2010-03-18 15:11:20 -06:00
Ryan Hitchman 8a93c7f21b fix quote plugin's handling of negative quote numbers 2010-03-18 14:31:21 -06:00
Ryan Hitchman 3e1755b564 last fix for tell.py 2010-03-16 15:35:52 -06:00
Ryan Hitchman 98238f0dc5 emacs vc mode does not act as expected >:[ (committing remember and tell modules for real) 2010-03-16 14:06:20 -06:00
Ryan Hitchman 309bf87202 fix mtg parser 2010-03-16 13:46:45 -06:00
Ryan Hitchman 278bc2e13a fix validate plugin's handling of http-less urls, clean bigassmessage 2010-03-15 02:31:19 -06:00
epswing 0935a72c16 merge 2010-03-14 22:00:47 -04:00
Ryan Hitchman 5ce63f7f21 let mode be set in config 2010-03-14 17:55:58 -06:00
epswing 8cb88165f8 better docstring 2010-03-14 05:05:16 -04:00
epswing 1a9a6b4ad1 added docstring, returning it if no input given, using style if specified by first word in input 2010-03-14 04:55:48 -04:00
epswing 441994fa34 tabs to spaces, using urllib.quote, inp no longer needlessly stripped, if statements no longer using parens, spacing modified to pass pep8 2010-03-14 04:01:34 -04:00
epswing 90923ac404 first installment of the big ass message creator 2010-03-14 03:21:42 -04:00
Ryan Hitchman 7888ce1314 rename hook.thread to hook.singlethread, make singlethread plugins cache db connections 2010-03-13 07:24:19 -07:00
Ryan Hitchman 60be1e7165 fix help plugin 2010-03-13 07:09:16 -07:00
Ryan Hitchman 30baa6c49c make persistent db name include bot nick 2010-03-13 07:02:05 -07:00
Ryan Hitchman 892f858643 fix wolframalpha parsing 2010-03-13 00:04:59 -07:00
Ryan Hitchman 627b83039c clean validate, pep8, remove CRs 2010-03-12 23:16:06 -07:00
ipsum 09f4abea84 i'm an idiot and overwrote mem.py - reverting mem.py 2010-03-12 18:13:02 -05:00
ipsum 145739dbd3 Added credit to Vladi 2010-03-12 01:33:14 -05:00
ipsum 5115c0ad1d added mem and url validator plugins 2010-03-12 01:17:43 -05:00
Ryan Hitchman 20fdb82b2d fix regex typo 2010-03-11 21:32:49 -07:00
Ryan Hitchman a89b558395 mem.py -- reports memory usage. windows path from ipsum's TCbot fork 2010-03-11 18:14:57 -07:00
Ryan Hitchman b69bd212a3 make events take param lists intead of param strings 2010-03-11 17:28:17 -07:00
Ryan Hitchman 24a837c606 add hook.regex -- regex search against private messages 2010-03-11 17:19:36 -07:00
Ryan Hitchman 4e0da10b37 remove some useless imports 2010-03-11 16:39:28 -07:00
Ryan Hitchman 1e6c08fb30 rewrite hooking and dispatcher 2010-03-11 16:34:54 -07:00
Ryan Hitchman 5200749c66 revert urlhistory to non-broken version 2010-03-06 12:42:59 -07:00
melonhead def6537f72 I think this fixes the 3 minute urlhistory bug. Sorry >_< 2010-03-06 17:19:22 +00:00
melonhead b7ef6968f7 Add help for .youtube 2010-03-05 23:09:36 +00:00
melonhead 6fe89c873e Merge 2010-03-05 16:43:15 +00:00
Ryan Hitchman 61c2f3e65c oops 2010-03-04 22:15:29 -07:00
melonhead 3457b923b2 fixed urlhistory syntax error 2010-03-05 03:10:06 +00:00
melonhead ea70af8ef1 Youtube: more flexible url matching
Youtube: support for youtu.be and yooouuutuuube urls
2010-03-05 03:04:25 +00:00
Ryan Hitchman c396be96d2 twitter: fix typo. drama: use a real json parser instead of literal_eval, rewrite to not use BeautifulSoup 2010-03-03 22:30:54 -07:00
Ryan Hitchman 997ad976e8 remove beautifulsoup -- we use lxml 2010-03-03 20:31:24 -07:00
Ryan Hitchman ee8d51dc62 remove cruft from urlnorm 2010-03-03 20:25:13 -07:00
melonhead 98d939ace4 Closed .drama security hole 2010-03-04 03:18:32 +00:00
melonhead 4881b96df4 Wtf hg can't handle symlinks 2010-03-03 18:11:52 +00:00
melonhead 16aceb6f26 Added encyclopedia dramatica .drama command 2010-03-03 17:55:57 +00:00
Ryan Hitchman 253881f4b4 PEP8 compliance + clean dotnetpad 2010-02-28 19:32:41 -07:00
Ryan Hitchman ab8f316eb9 prettify gcalc, make youtube search use jsonc interface 2010-02-28 18:39:29 -07:00
Ryan Hitchman a4ada7893c remove debug print lines that melonhead left in 2010-02-28 18:16:34 -07:00
melonhead 663dfe884b Hurf durf can't have subroutines with the same name 2010-03-01 01:12:10 +00:00
melonhead 51e5744d26 Moved youtube search method inside youtube.py 2010-03-01 01:08:54 +00:00
melonhead 08dfdb746d Added youtube search plugin 2010-02-28 13:09:56 +00:00
melonhead d8343fcd6c Add 'roll' to dice.py's commands 2010-02-24 16:39:00 +00:00
melonhead e237e6d854 Use unicode.lower instead of str.lower for ACLs 2010-02-24 16:37:45 +00:00
melonhead fcffce45f3 Extended dotnetpad timeout to 10 seconds 2010-02-24 16:17:57 +00:00
Ryan Hitchman 40bb91bb88 make config file use json now, remove pyyaml and various other cruft 2010-02-22 20:32:09 -07:00
Ryan Hitchman cf4b7e50e5 make dice case-insensitive, improve remember.py:forget formatting 2010-02-22 19:22:47 -07:00
Ryan Hitchman 35d0444f13 fix remember unicode handling 2010-02-22 19:01:27 -07:00
Ryan Hitchman 923fdead1c fix slowness when connected to multiple networks & misc. stylistic changes 2010-02-22 16:24:01 -07:00
Ryan Hitchman 39a50f53f0 merge 2010-02-22 15:58:21 -07:00
liebot@grimace 5cc1366e0d Added google calculator module 2010-02-22 17:25:01 +00:00
Chris Skalenda f493927eb9 hurf durf 2010-02-21 22:23:52 -06:00
Chris Skalenda 8531bdd76c wikipedia: send a useragent when fetching xml from the wikipedia api. If you don't, it sends 403 a lot. 2010-02-21 22:12:55 -06:00
Ryan Hitchman ca8b24518e improve wolframalpha unescaping 2010-02-17 16:24:52 -07:00
Ryan Hitchman f39b4bf9cf make youtube plugin notify about restricted content 2010-02-14 12:10:21 -07:00
Ryan Hitchman 56c1119443 rewrite youtube plugin again to use jsonc interface and report more information 2010-02-13 18:11:42 -07:00
Ryan Hitchman 51e24dadb5 revert sieve to version without broken caching 2010-02-13 14:03:19 -07:00
Ryan Hitchman 9d139d8760 rewrite youtube plugin to use json instead of lxml.etree and to be more flexible 2010-02-12 22:13:55 -07:00
Ryan Hitchman 9b47d394ad add fake IRC class to help tracking leaks 2010-02-11 16:29:45 -07:00
Ryan Hitchman 826a47837c forgot to remove a debugging line 2010-02-07 17:58:06 -07:00
Ryan Hitchman 3c4edb54c2 make urlhistory give more information about when urls were linked 2010-02-05 19:54:28 -07:00
Ryan Hitchman 8f2c15b730 rewrote remember.py, improved WA scraping 2010-02-01 22:41:51 -07:00
Ryan Hitchman 30f6ead292 fix wolfralpha scraping when a pod is empty 2010-02-01 21:52:09 -07:00
Ryan Hitchman 1dd86babc2 change calling convention 2010-02-01 21:42:34 -07:00
Ryan Hitchman 8c68bbd128 rewrite weather.py to use sqlite db instead of flat files 2010-02-01 01:33:06 -07:00
Ryan Hitchman bad13e2908 make quote.py use the proper db 2010-02-01 01:16:16 -07:00
Ryan Hitchman d4005ce1f6 make quote.py SQL refer to quote table instead of quotes 2010-02-01 00:55:00 -07:00
Ryan Hitchman b7bcba0613 remove whitespace from quote.py's table creation 2010-02-01 00:48:00 -07:00
Ryan Hitchman f4098232c0 make seen lower case, make quote.py use quote instead of quotes 2010-02-01 00:40:54 -07:00
Ryan Hitchman 595a37f0e0 remove debug printing from a few plugins 2010-02-01 00:30:51 -07:00
Ryan Hitchman 9eb5b236a6 rewrite tell, simplify db access in quote, seen, urlhistory. fix wolframalpha for the last time 2010-02-01 00:29:50 -07:00
Ryan Hitchman 72b8168b2e fix typo (__query__ -> __help__) 2010-01-31 22:55:22 -07:00
Ryan Hitchman dd723eafe0 wolframalpha.py: gets results from WA (not using the commercial API)-- works pretty well 2010-01-31 22:49:52 -07:00
Hamled 20fd90b869 Merged .showtell changes with tip. 2010-01-30 11:25:06 -08:00
Hamled 7245621341 Fixed .showtells command. It should now correctly private message all available messages. 2010-01-30 11:09:34 -08:00
ipsum 768bde1f93 changed command to .re 2010-01-26 17:57:47 -05:00
ipsum 4ffc5fe5bf Added regular expressions plugin 2010-01-25 23:39:26 -05:00
Ryan Hitchman 7663b3e5d3 simple acls (deny-except and allow-except), force config rewrite on start 2010-01-24 17:30:00 -07:00
Ryan Hitchman 26515cf14b improve quote db schema, add channel random quotes 2010-01-22 04:19:16 -07:00
Ryan Hitchman 9f0c2fe9f1 quote.py: a simple quote database 2010-01-22 02:56:20 -07:00
Ryan Hitchman c6c94c9ecb make urlhistory nick sorting case-insensitive, simplify a few decorator calls 2010-01-18 22:14:49 -07:00
Ryan Hitchman 8271b23cb6 make urlhistory.py record irc servers as well 2010-01-18 20:16:40 -07:00
melonhead bb709a74bf Added URL normalization to urlhistory module to allow better detection of duplicates
Added configurable ignored URLs to urlhistory module
2010-01-18 15:07:06 -05:00
melonhead 7380470cf0 -Add "timeline" URL history plugin
-Create persist dir automatically if it does not exist
2010-01-18 12:47:55 -05:00
Ryan Hitchman 33585f3190 put input.inp.strip() in sieve, remove repetitive stripping in plugins 2010-01-17 16:07:08 -07:00
Ryan Hitchman 92c6d798b5 improve windows compatibility 2010-01-17 13:38:37 -07:00
Hamled d2ad68cc4e Twitter replied-to feature now supports replies to users as well as statuses. 2010-01-17 00:31:22 -08:00
Ryan Hitchman 2fd4375d78 give .mtg help text 2010-01-17 00:51:05 -07:00
Ryan Hitchman 7c3d5b1eab note to self: don't grants stoners commit access (reverting shit) 2010-01-17 00:48:59 -07:00
Hamled c183032774 Fix unintentional changes to plugin directory structure. 2010-01-16 20:24:36 -08:00
Hamled c8df4dfb38 Fix to twitter replied-to feature. Currently does not function correctly. 2010-01-16 20:12:17 -08:00
Hamled 9109ed2ac0 Fixed a syntax error in the previous update. 2010-01-16 19:08:03 -08:00
Hamled fc0244c952 Updated twitter module to allow fetching replied-to tweets. 2010-01-16 19:03:10 -08:00
Ryan Hitchman 5fe0bb0d7e fix .mtg set regex 2010-01-08 19:02:18 -07:00
Ryan Hitchman bde89835fc adding .mtg -- gives information about a magic the gathering card (scrapes magiccards.info) 2010-01-08 17:53:27 -07:00
Ryan Hitchman 9c43856c87 fix .cs/.fs unicode handling 2009-12-22 19:11:12 -07:00
Ryan Hitchman 81ca14fcf0 fix .google unicode query handling 2009-12-22 15:54:30 -07:00
Ryan Hitchman a92e02f4d8 rewrite twitter module to be more robust 2009-12-13 18:06:29 -07:00
melonhead 9c44d8ce69 Revert "bot.reply" to "input.reply" 2009-12-09 12:11:32 -05:00
melonhead 3dcb0dd537 Added "dontsave" functionality to .weather 2009-12-09 12:06:06 -05:00
Ryan Hitchman e07d6486b3 final fix for unprintable messages 2009-11-23 01:37:52 -07:00
Ryan Hitchman 3b5ec5f879 should fix log printing problems 2009-11-22 16:19:33 -07:00
Ryan Hitchman 5dd972a00e set socket timeout time to 5 seconds 2009-11-20 18:12:29 -07:00
Ryan Hitchman e8686e0279 testing is good! 2009-11-20 17:58:17 -07:00
Ryan Hitchman ef19fa7571 should make seen/tell case insensitive 2009-11-20 17:57:00 -07:00
Ryan Hitchman 1e9e844f86 make explain.py properly report errors 2009-11-20 17:30:10 -07:00
Ryan Hitchman a07333cbad fix explain.py 2009-11-20 17:27:07 -07:00
Ryan Hitchman c04387d180 stylistic cleanup of dotnetpad.py, untested because dotnetpad was down 2009-11-20 17:11:18 -07:00
Ryan Hitchman 90cb5bf47d use py2.6 json module instead of yaml as a json decoder 2009-11-20 16:55:39 -07:00
Chris Skalenda 8322df1c93 Adding a dotnetpad plugin. This lets you eval C# and F#, via the web. 2009-11-20 00:19:20 -06:00
Ryan Hitchman 7da1834e6a split more irc stuff from core into plugins, add nickserv support 2009-11-18 21:32:28 -07:00
Ryan Hitchman d44223399f actually committing help.py 2009-11-18 20:30:28 -07:00
Ryan Hitchman e3bb74a365 help.py: online documentation (use .help) 2009-11-18 20:20:59 -07:00
Ryan Hitchman 5f1ac6254e better fix for log.py mishandling certain strings 2009-11-18 19:45:57 -07:00
Ryan Hitchman 55e0851eb8 temporary fix to log plugin 2009-11-18 19:33:34 -07:00