Commit Graph

44 Commits

Author SHA1 Message Date
Christine Dodrill 919cc0f505 Update to python 3 2015-11-15 08:36:35 -08:00
Christine Dodrill 0214ca90b5 Add a fuckit here 2015-11-11 00:46:22 -08:00
Christine Dodrill 82425de058 don't pingspam 2015-11-04 17:03:22 -08:00
Marcos Vives Del Sol 4c970f6b16 Properly handle multicharacter bot prefixes 2014-11-23 16:19:56 +01:00
Ryan Hitchman 01192e0ddf add kick/ban/unban helper functions 2014-05-12 22:35:15 -07:00
craisins 2b44d0af29 Added support for custom bot prefixes 2014-05-08 23:09:58 -04:00
Ryan Hitchman 4c3cb0c9b7 allow nick blacklisting 2014-04-24 14:15:58 -07:00
Ryan Hitchman cb8c437772 flake8 + autopep8 (whitespace fixes) 2014-01-14 13:12:37 -08:00
Ryan Hitchman a29dffbfb7 refactor apikey retrieval, fix lastfm with empty input 2013-01-27 16:40:31 -06:00
Jim Porter 508dc11cbf Ensure that if a @hook.singlethread hook throws, we keep running it 2012-08-24 15:31:38 -05:00
Ryan Hitchman bc05053d8a docstring snopes, don't respond to "<botnick> <command>" (can still do "<botnick>: <command>", PEP8 2010-11-11 23:21:27 -06:00
Ryan Hitchman c2a607198c PEP8 2010-08-29 22:35:27 -05:00
Ryan Hitchman 713b21d9f7 undo some bad changes 2010-08-24 17:14:55 -05: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 91124d1f8a allow nick changing in commands
now you can change nick via input.set_nick
2010-08-22 20:15:24 -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
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 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 f61895fdc3 pep8 2010-04-22 21:50:56 -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 2a11825779 PEP8 compliance, reduce munging on tagged names 2010-03-27 02:42:27 -06:00
Ryan Hitchman d4ad562a5a improve quote retrieval regex and some exception handling 2010-03-18 15:11:20 -06:00
Ryan Hitchman dcfea9f496 remember: accept "? word" form, tell: do communications in pm, main: don't prefix replies with nickname if pm 2010-03-16 13:56:51 -06: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 30baa6c49c make persistent db name include bot nick 2010-03-13 07:02:05 -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 1e6c08fb30 rewrite hooking and dispatcher 2010-03-11 16:34:54 -07:00
Ryan Hitchman b1d5753304 try to keep vm size down by reducing thread stack size (thanks sklnd) 2010-03-06 12:41:54 -07:00
Ryan Hitchman 61c2f3e65c oops 2010-03-04 22:15:29 -07:00
Ryan Hitchman 1ea6594785 fix memory leak (see http://bugs.python.org/issue1469629) 2010-03-04 22:04:57 -07:00
Ryan Hitchman 253881f4b4 PEP8 compliance + clean dotnetpad 2010-02-28 19:32:41 -07:00
Ryan Hitchman 1dd86babc2 change calling convention 2010-02-01 21:42:34 -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
Ryan Hitchman 977c62f7ef commenting Input() more 2010-01-18 19:42:35 -07:00
Ryan Hitchman e3bb74a365 help.py: online documentation (use .help) 2009-11-18 20:20:59 -07:00
Ryan Hitchman 1f1b6396e7 move FakeBot stuff to Input, remove FakeBot 2009-11-18 18:42:37 -07:00
Ryan Hitchman 985f7c5d51 logging now properly ordered 2009-11-18 17:39:27 -07:00
Ryan Hitchman 55f4b5aa95 separate YAML config file & multiple connections 2009-11-17 17:19:26 -07:00
Ryan Hitchman bc46ef50e6 better error reporting, move printing into log module 2009-04-22 20:49:06 -06:00
Ryan Hitchman 322205eb92 misc cleaning, fix urban 2009-04-19 05:42:48 -06:00
Ryan Hitchman e284ed75ba split core into more reloadable chunks, more log work, beginning of hook.queue 2009-04-19 05:18:27 -06:00