3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-01 00:19:29 +01:00
Commit Graph

337 Commits

Author SHA1 Message Date
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
Psychedelic Squid
a08e904ea6 Puns also changed to dispatch a '~q' 2012-03-14 14:20:59 +00:00
Psychedelic Squid
a4313ee665 '~CATEGORY' now dispatches a '~q CATEGORY' command. 2012-03-14 13:59:26 +00:00
Psychedelic Squid
26c3743f76 Oops, stop falling out of the command logic when commands are ignored. 2012-03-12 13:49:55 +00:00
Psychedelic Squid
064d898f4a ~ignore command for, well, ignoring commands temporarily. Add a timer.js wrapper for setTimeout, too. 2012-03-12 13:46:53 +00:00
Psychedelic Squid
92767dbfb1 Fail on invalid-syntax DBs, instead of replacing them. Also, shunt creation of 'realityonce' array to the realityonce listener, so it's not created before being needed. 2012-03-10 18:39:36 +00:00
Psychedelic Squid
730b65761e Merge git://github.com/reality/depressionbot 2012-03-10 18:22:22 +00:00
Psychedelic Squid
f136636093 webPort config option, default 443 2012-03-10 18:21:50 +00:00
Luke Slater
bd85694018 we can't make him too friendly now can we 2012-03-10 18:13:00 +00:00
Luke Slater
0475db6092 Merge branch 'master' of https://github.com/psquid/depressionbot 2012-03-10 18:11:51 +00:00
Psychedelic Squid
df33de486c Pruning. 2012-03-10 18:10:04 +00:00
Luke Slater
62900670cb nobody 2012-03-10 18:02:03 +00:00
Psychedelic Squid
9fa5644a6b Merge git://github.com/reality/depressionbot 2012-03-10 18:01:21 +00:00
Luke Slater
90866a095d stderr? 2012-03-10 18:00:16 +00:00
Luke Slater
ae28db6e70 print output of greload 2012-03-10 17:58:57 +00:00
Luke Slater
b3a6aa2322 test change for greload :| 2012-03-10 17:57:34 +00:00
Luke Slater
d4320bbde7 greload command to git pull then reload 2012-03-10 17:56:38 +00:00
Psychedelic Squid
c8a1818c65 Merge git://github.com/reality/depressionbot 2012-03-10 17:51:33 +00:00
Luke Slater
59adda4221 name in title instead of dbot 2012-03-10 17:49:57 +00:00
Psychedelic Squid
a0158ceac4 Remove category when emptied by ~rm. 2012-03-10 17:48:49 +00:00
Luke Slater
0aab68c01f Merge pull request #23 from psquid/master
Use bot's name when fetching ~d quotes, rather than hardcoding 'depressionbot'
2012-03-10 07:34:51 -08:00
Psychedelic Squid
7d55cefdce Merge git://github.com/reality/depressionbot 2012-03-10 15:33:49 +00:00
Luke Slater
6c337bf1a0 actually screw it i'll do the requirements thing later 2012-03-10 15:32:44 +00:00
Psychedelic Squid
4ea99c7566 Use bot's name when fetching ~d quotes, rather than hardcoding 'depressionbot'. 2012-03-10 15:30:15 +00:00
Luke Slater
34a642228d command execution syntax is now in modules/command.js 2012-03-10 15:28:42 +00:00
Luke Slater
28f78373d8 dont print result of ajs if its undefined 2012-03-10 14:56:06 +00:00
Luke Slater
d5296b0ea0 Multiple admins supported 2012-03-10 14:38:47 +00:00
Psychedelic Squid
678a2ed9be admin 'act' command, and fix to action syntax. 2012-03-09 21:44:05 +00:00
Psychedelic Squid
6160d24e4f Correct handling of modifiers, per golem 2012-03-07 23:18:19 +00:00
Psychedelic Squid
1d2659f361 Interpolated quotes, because why not? 2012-03-07 22:13:31 +00:00
Psychedelic Squid
36c0a0a193 Merge git://github.com/reality/depressionbot 2012-03-07 18:14:55 +00:00
Luke Slater
4893b2dd74 resetadmin command 2012-03-07 16:54:03 +00:00
Luke Slater
7ac46f6ed5 Merge pull request #19 from psquid/a83b1c2
Asterisks at either end, and multi-word search [spelling module fixes].
2012-03-07 07:12:02 -08:00
Psychedelic Squid
fbab79c567 Merge git://github.com/reality/depressionbot 2012-03-07 03:51:29 +00:00
Psychedelic Squid
e925021714 And there's the modifiers. Beautiful. 2012-03-07 03:33:18 +00:00
Psychedelic Squid
fea815a24f Basic dice-rolling functionality. Next, modifiers. 2012-03-07 03:22:52 +00:00
Psychedelic Squid
a83b1c2bd5 Argh! winner, not correction. Old code would match _anything_, not good. 2012-03-06 23:04:37 +00:00
Psychedelic Squid
68943d6c8f Make max winner distance proportional to correction length, so long strings can match. 2012-03-06 22:58:04 +00:00
Psychedelic Squid
85bc47c152 Sanity check; don't want to match against identical words to the correction. 2012-03-06 22:19:11 +00:00
Psychedelic Squid
4e2d4017d0 Check all groupings of words for corrections; makes multi-word corrections behave properly. 2012-03-06 22:02:52 +00:00
Luke Slater
514af801d2 drama stats recorded per user 2012-03-06 19:55:35 +00:00
Psychedelic Squid
ad6b354daf After actually learning how valMatch works, this motherfucker is ready to roll. 2012-03-06 16:34:18 +00:00
Luke Slater
23bd691927 test 2012-03-05 18:17:15 +00:00
Psychedelic Squid
2f9af449ec New regex in place, but the matching pattern changes a little, so I think it probably would break if nothing else is changed. Need to spin up a node server so I can test live. 2012-03-02 02:50:31 +00:00
Luke Slater
a9a88723e3 stupid typo 2012-02-28 14:26:12 +00:00
Luke Slater
dba4403f70 qstats showing largest quote categories 2012-02-28 14:25:13 +00:00
Luke Slater
201f3648d1 delete category when rmlast makes empty quote category 2012-02-27 15:15:30 +00:00
Luke Slater
72fb19768a delete category when rmlast makes empty quote category 2012-02-27 15:14:08 +00:00
Luke Slater
1a6146b348 delete category when rmlast makes empty quote category 2012-02-27 15:11:43 +00:00
Luke Slater
81d34ce304 classify 2012-02-15 21:05:26 +00:00
Luke Slater
a9af977f9d classify 2012-02-15 21:04:01 +00:00
Luke Slater
4aed2a700c classify 2012-02-15 21:01:31 +00:00
Luke Slater
e608491360 classify 2012-02-15 21:00:31 +00:00
Luke Slater
d98c1657dc add sam to dram acces 2012-02-14 19:00:12 +00:00
Luke Slater
8d681ad29b add golem to train 2012-02-14 18:57:52 +00:00
Luke Slater
5037779070 golem can train 2012-02-14 18:49:34 +00:00
Luke Slater
8b87e7e512 added self depracate 2012-02-14 18:18:53 +00:00
Luke Slater
770b66488d fix splicing category out 2012-02-14 18:17:31 +00:00
Luke Slater
c844125355 rtrain to add raw date 2012-02-14 18:15:59 +00:00
Luke Slater
25a48177a8 reporting didnt exist 2012-02-14 18:02:48 +00:00
Luke Slater
5cc3b224c2 experimental bayesian classifier for detecting being an asshole and drama 2012-02-14 18:00:03 +00:00
Luke Slater
e07eca7168 Remove a few instances of Aberwiki-specific stuff. 2012-02-14 17:07:03 +00:00
Luke Slater
77db61b02d it's an array not an object... 2012-02-14 00:41:34 +00:00
Luke Slater
9856fdc5b2 wrong path in unload 2012-02-14 00:35:54 +00:00
Luke Slater
9b4aba39b1 wrong params thing in unload 2012-02-14 00:35:02 +00:00
Luke Slater
7aeb2f0fbb fix unload 2012-02-14 00:32:31 +00:00
Luke Slater
d5ef51e506 Not sure what the hell is up with this package 2012-02-13 20:21:57 +00:00
Luke Slater
c20e5b61f2 Not sure what the hell is up with this package 2012-02-13 20:20:49 +00:00
Luke Slater
af7d8c58d1 use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:18:01 +00:00
Luke Slater
bc4dfb0003 use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:17:24 +00:00
Luke Slater
33ec196a7d use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:15:13 +00:00
Luke Slater
eab3b30805 use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:13:26 +00:00
Luke Slater
9b1fd7aa4e use sandbox module for running untrusted code because it has a timeout 2012-02-13 20:11:51 +00:00
Luke Slater
d72d5f5bdc admin js command so admin can access dbot when running 2012-02-13 20:01:22 +00:00
Luke Slater
b34d714364 Merge branch 'master' of https://github.com/reality/depressionbot 2012-02-13 19:56:18 +00:00
Luke Slater
cc88d53de4 js runs in vm sandbox, documentation additions 2012-02-13 19:56:04 +00:00
Luke Slater
8783990d7f admin can bypass locks 2012-02-13 03:50:39 +00:00
Luke Slater
2cd7a3992c Merge branch 'master' of github.com:reality/depressionbot 2012-02-13 03:49:48 +00:00
Luke Slater
23cd0218ac admin can bypass locks 2012-02-13 03:48:56 +00:00
Luke Slater
29aeb88184 Remove karma related commands because they're stupid, moved kick-related commands into the kick module. 2012-02-11 16:25:20 +00:00
Luke Slater
471918d328 Fix kickArr reference in ~kickstats 2012-02-11 16:19:40 +00:00
Luke Slater
c798e42152 Refactored ~kickstats so there's no code repitition. 2012-02-11 16:17:52 +00:00
Luke Slater
e79854638a Commenting additions and moved module list specification into the config file. 2012-02-11 16:02:16 +00:00
Luke Slater
5ef21027ea Forgot to add req and res entry 2012-02-11 15:55:14 +00:00
Luke Slater
2db1174689 Merge branch 'master' of https://github.com/reality/depressionbot 2012-02-11 15:53:57 +00:00
Luke Slater
0c4b86dc28 Random quote page on the web interface. 2012-02-11 15:53:18 +00:00
Luke Slater
141fc40a04 opme takes channel argument 2012-02-11 15:45:10 +00:00
Luke Slater
2fd09aa3f9 apostrophes bitches 2012-01-20 16:26:47 +00:00
n3hima / Joe MacMahon
5d7bc0ad14 Added an ~rm command which can remove quotes which are not the most-recently-added quote 2012-01-14 10:27:23 +00:00