Commit Graph

985 Commits

Author SHA1 Message Date
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
2d72b11b79 Merge branch 'master' of https://github.com/reality/depressionbot 2012-03-10 18:13:12 +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
95facfa381 Merge pull request #25 from psquid/master
Remove category when emptied by ~rm.
2012-03-10 10:03:51 -08: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
c7fcb9fe18 do that in heading instead of just title 2012-03-10 17:51:24 +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
b1a2f6edf6 Merge pull request #24 from psquid/master
Enforce command.js being loaded.
2012-03-10 09:45:55 -08:00
Psychedelic Squid
c852a4ada8 Enforce command.js being loaded. Still reloadable, but can't be omitted. 2012-03-10 17:35:50 +00:00
Psychedelic Squid
3824767ee3 Merge git://github.com/reality/depressionbot 2012-03-10 15:37:19 +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
Luke Slater
4e338c2475 Merge pull request #22 from psquid/master
admin 'act' command, and fix to action syntax
2012-03-09 16:40:29 -08:00
Psychedelic Squid
678a2ed9be admin 'act' command, and fix to action syntax. 2012-03-09 21:44:05 +00:00
Luke Slater
6444494293 Merge pull request #21 from psquid/master
Modifier syntax fix
2012-03-07 15:22:54 -08:00
Psychedelic Squid
6160d24e4f Correct handling of modifiers, per golem 2012-03-07 23:18:19 +00:00
Luke Slater
18e93a5a66 Merge pull request #20 from psquid/master
Interpolated quotes.
2012-03-07 14:17:57 -08:00
Psychedelic Squid
1d2659f361 Interpolated quotes, because why not? 2012-03-07 22:13:31 +00:00
Psychedelic Squid
e36f985536 Merge git://github.com/reality/depressionbot 2012-03-07 22:12:59 +00:00
Samuel Clements
a7b8d3eadb Merge pull request #18 from psquid/prefill-db
Create and/or fix a missing/incomplete DB on running.
2012-03-07 10:37:23 -08: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
61c6aaf187 Don't fail to have a realityonce quote array. 2012-03-07 04:25:07 +00: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
cfe2c0db4f Sum function. 2012-03-07 03:22:25 +00:00
Psychedelic Squid
f9538183fb Merge branch 'prefill-db' of github.com:psquid/depressionbot 2012-03-07 00:05:40 +00:00
Psychedelic Squid
248ca9b790 Create and/or fix a missing/incomplete DB on running. 2012-03-06 23:54: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