Commit Graph

468 Commits

Author SHA1 Message Date
Rob Dennis 8372502ea5 fix for mutable default argument in utility function 2010-09-06 11:39:13 +08:00
Rob Dennis 59ea02c1fc removal of extraneous comments 2010-09-05 04:50:15 +08:00
Rob Dennis 43fd4dbe19 added output on URL timeout, and change api to use a unique key just for skybot 2010-09-03 12:57:55 +08:00
Ryan Hitchman c2a607198c PEP8 2010-08-29 22:35:27 -05:00
Ryan Hitchman ba565a3eaa modify tvdb to be more in line with skybot coding style 2010-08-29 21:12:03 -05:00
Rob Dennis 93d507342d Addition of .tv_next <series name> command to show next airing episode 2010-08-30 03:33:37 +08:00
Ryan Hitchman f3f4dac7e9 make http able to handle cookies, somethingawful.py: give thread titles for SA forums links 2010-08-25 15:39:45 -05:00
Ryan Hitchman 713b21d9f7 undo some bad changes 2010-08-24 17:14:55 -05:00
Ryan Hitchman 12035fee94 Merge github.com:rmmh/skybot
Conflicts:
	plugins/misc.py
2010-08-24 17:08:52 -05:00
Ryan Hitchman ea097aad7f redirect links to github 2010-08-24 16:59:47 -05:00
Patrick Hurst 434ff989f2 don't roll on lines like '15 minutes later'
any die-initial roll line has to actually contain dice
2010-08-23 02:19:40 -04:00
Patrick Hurst c5f1fccd29 fix stupid PM bug
the bot wouldn't respond in PMs to people with uppercase letters in their name
2010-08-22 21:33:24 -04:00
Patrick Hurst 3f326dcc22 fix stupid bug involving channel case and ?remember 2010-08-22 20:16:04 -04:00
Patrick Hurst ee79576569 take a first stab at writing documentation
document the @hook stuff and how you can take input, bot, and db as
arguments.
2010-08-22 20:16:04 -04:00
Patrick Hurst c35f15b981 color fudge dice rolls
when rolling fudge dice, use + and - instead. + is green, - is red.
2010-08-22 20:16:03 -04:00
Patrick Hurst 32aaf97c34 allow empty descriptions for dice rolls 2010-08-22 20:16:03 -04:00
Patrick Hurst b70c703af5 explicitly show each die roll 2010-08-22 20:16:03 -04:00
Patrick Hurst 7876fd57ac dicerolls now have descriptions 2010-08-22 20:15:25 -04:00
Patrick Hurst 91124d1f8a allow nick changing in commands
now you can change nick via input.set_nick
2010-08-22 20:15:24 -04:00
Patrick Hurst 4cc12512ff allow dice to be rolled without explicit command
anything that looks like a dice roll will be rolled as such
2010-08-22 20:15:24 -04:00
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 949fb36c61 fix .gitignore 2010-08-22 17:30:26 -05:00
Ryan Hitchman 93fbe408b5 fix core/config.py infinite reloading loop reported by monokrome 2010-08-22 17:24:57 -05:00
Ryan Hitchman 1f84e5ded7 add readme 2010-08-22 17:17:46 -05: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
Ryan Hitchman 76341b5e6e merging nmanzi's input.me patch 2010-07-18 20:11:52 -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
Nathan Manzi 5bae80789f Added 'me' function for action strings.
Example:
def foo(input, me=None):
  me("is doing %s" % input)
2010-07-14 14:57:43 +08:00
Chris Skalenda b9f74dba71 Handle blank descriptions from google in the google search plugin. 2010-07-08 19:18:25 -06:00
Ryan Hitchman ee69022baa fixing bug in dispatch made by last commit 2010-07-08 12:27:37 -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 3e9708cc79 fix crash with empty docstring 2010-06-29 01:02:48 -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