Commit Graph

325 Commits

Author SHA1 Message Date
Luke Slater
eb9b9018bf add check in puns again derp 2012-04-16 15:23:19 +01:00
Luke Slater
39d3021870 autoshorten threshold 80 2012-04-16 00:23:13 +01:00
Luke Slater
1b0a32078c remove redundant hasownproperty check from puns since ~q already does that 2012-04-15 23:51:30 +01:00
Luke Slater
27f5ab6f30 quotes not name. jesus. 2012-04-15 23:27:14 +01:00
Luke Slater
79cf8243a0 quotes ignore check for ~quotecat 2012-04-15 23:26:14 +01:00
Luke Slater
8f5759252f name, not names 2012-04-15 22:15:10 +01:00
Luke Slater
a600cb5da5 Added ignore checkers to all ignorable modules with listeners, bit messy but eh. 2012-04-15 22:04:58 +01:00
Luke Slater
0062dde196 Command map changed round the other way. Modules have name and ignorable properties. Ignore and unignore commands, which currently effect actual commands but not listeners yet. 2012-04-15 21:43:02 +01:00
Luke Slater
7680e515a8 Remove existing ignoration functionality. 2012-04-15 20:04:34 +01:00
Luke Slater
ea893be393 change shorten length to 65 2012-04-14 12:01:52 +01:00
Luke Slater
c76428b1f2 TODO note and autoshorten in automatic loading modules 2012-04-14 06:41:53 +01:00
Luke Slater
19a3d9cf87 Only auto shorten long links 2012-04-14 06:37:17 +01:00
Luke Slater
d0ed2eddd1 lets try this then 2012-04-14 06:26:48 +01:00
Luke Slater
7f9089bc5e debug output 2012-04-14 06:23:01 +01:00
Luke Slater
e1833017b0 i am tired 2012-04-14 06:21:38 +01:00
Luke Slater
1924d28952 apparently http is bad 2012-04-14 06:12:36 +01:00
Luke Slater
4bb3836665 needed to require http. whoops. 2012-04-14 06:08:54 +01:00
Luke Slater
eafeb23a77 json format fix 2012-04-14 06:08:03 +01:00
Luke Slater
4290126222 autoshorten 2012-04-14 06:06:40 +01:00
Luke Slater
03e152cc2c Revert "Logging modules added (requires jsbot support for multi-listeners)."
This reverts commit 9d5cf694a8.
2012-03-27 15:06:23 +01:00
Luke Slater
c35ffe3228 Revert "Add routing for web display of logs."
This reverts commit e8eb665900.
2012-03-27 15:06:13 +01:00
Luke Slater
c7124aa49e Revert "Vaguely functional now. Will work on more later."
This reverts commit 055ec14719.
2012-03-27 15:05:56 +01:00
Luke Slater
1503ad4ed5 Revert "lower case interpolation whatsits"
This reverts commit acb427a24e.
2012-03-27 15:04:32 +01:00
Psychedelic Squid
055ec14719 Vaguely functional now. Will work on more later. 2012-03-27 21:59:24 +08:00
Psychedelic Squid
3f218ebb52 Make spelling distance check not care about case. 2012-03-27 21:46:27 +08:00
Psychedelic Squid
e8eb665900 Add routing for web display of logs. 2012-03-27 21:46:27 +08:00
Psychedelic Squid
9d5cf694a8 Logging modules added (requires jsbot support for multi-listeners). 2012-03-27 21:46:26 +08:00
Luke Slater
acb427a24e lower case interpolation whatsits 2012-03-27 14:31:56 +01:00
Psychedelic Squid
0cae8b3baa Use String.prototype.format() <https://gist.github.com/1153608> to make the translation strings more amenable to variations in word order. 2012-03-26 01:32:41 +00:00
Luke Slater
b1c8ec4afa add strings to reload functionality 2012-03-25 02:24:12 +01:00
Luke Slater
3e793d43d5 Loads strings properly. Some changes to the category. Mostly working now, just needs finished Spanish translations and some further testing because I've probably mistyped some category names. 2012-03-25 00:08:32 +00:00
Luke Slater
95eaa7f948 some additions to the strings file and the entire program should now be using the string entries 2012-03-24 23:48:28 +00:00
Luke Slater
47b6c0ff5b whoops missing bracket 2012-03-19 18:48:12 +00:00
Luke Slater
8c81842643 Merge branch 'master' of github.com:reality/depressionbot 2012-03-19 18:46:48 +00:00
Luke Slater
982135411e Fix the long-broken "quote already in db" detection 2012-03-19 18:46:33 +00:00
Luke Slater
eedbe1f287 params argument was being passed as the quoteTree, breaking quotes FOREVER 2012-03-17 13:53:58 +00:00
Luke Slater
a6024c9b7d Oh shit, forgot that quote categories may be several words long. Removed parametisation until further thought takes place. 2012-03-17 13:51:01 +00:00
Luke Slater
309755ba5d err debug 2012-03-17 13:49:08 +00:00
Luke Slater
e0e1d6100d first reference 2012-03-17 13:47:06 +00:00
Luke Slater
64f4979a85 first reference 2012-03-17 13:45:36 +00:00
Luke Slater
e6b50b248d need to call interpolated quote with params 2012-03-17 13:42:15 +00:00
Luke Slater
77cc1ddafd quote parameters 2012-03-17 13:38:03 +00:00
Luke Slater
63039f4e2c possibly ignore whitespace in qadd..? 2012-03-17 13:22:25 +00:00
Luke Slater
cb0bacfabd possibly ignore whitespace in qadd..? 2012-03-17 13:20:21 +00:00
Luke Slater
de873c0302 possibly ignore whitespace in qadd..? 2012-03-17 13:17:58 +00:00
Luke Slater
12e62df846 Removed debugging console.logs 2012-03-15 12:57:54 +00:00
Luke Slater
05fc0418d3 cleaned interpolatedquote so it fits with the coding style 2012-03-15 12:52:47 +00:00
Luke Slater
7a5a25134e Why in blue shit was that in there? 2012-03-14 15:49:49 +00:00
Luke Slater
8f891835e4 fix split on undefined message in puns 2012-03-14 15:47:00 +00:00
Psychedelic Squid
155a2f2f84 interpolatedQuote fully transplanted into quotes.js, should reduce pesky run.js reloading to near-zero 2012-03-14 14:35:37 +00:00