3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00
Commit Graph

349 Commits

Author SHA1 Message Date
Luke Slater
5677cad1fa Use jsbot ignore instead of having it build into the modules 2012-05-25 16:45:47 +01:00
Luke Slater
4c72bd327c fixed spelling module and youare 2012-05-25 16:11:07 +01:00
Luke Slater
d6b56db06e Fix puns by faking an event and calling it straight in jsbot 2012-05-25 16:03:36 +01:00
Luke Slater
979399de46 Converted drama kicks and puns to new format. Quite tired now. 2012-05-23 20:05:23 +01:00
Luke Slater
74369c5de6 converted autoshorten and dice to new format 2012-05-23 19:45:14 +01:00
Luke Slater
9a9f9a662b removed badwords module 2012-05-23 19:39:10 +01:00
Luke Slater
464e0f11e3 Converted admin.js. Added a few more translations. Removed modehate functionality. Changed some stuff in run.js to facilitate changes. 2012-05-23 19:38:10 +01:00
Luke Slater
aa72af3867 Don't error if regex syntax is invalid for ~ default. 2012-05-23 18:50:21 +01:00
Luke Slater
c3832c209f Converted quotes module to new format. Everything seems to be working 2012-05-23 18:01:28 +01:00
Luke Slater
2088ee9da3 Should be event rather than data. 2012-05-23 15:56:13 +01:00
Luke Slater
6c7fc838d4 Apply regex in command.js module and add results in input property on event object. 2012-05-23 15:45:09 +01:00
Luke Slater
1f02e29a85 Made DBot load listeners in The New Way. Massively simplified Command module, converted to new format. Converted JS module to new format. All working. Moved ~ignore functionality away for now as it needs to be combined with jsbot. 2012-05-19 19:14:07 +01:00
Luke Slater
059768592a Changed most of the English output strings to formatted strings. 2012-05-19 17:36:21 +01:00
Luke Slater
fa2d0b8465 Converted all of the other modules to the new translate syntax. 2012-05-19 16:48:01 +01:00
Luke Slater
42c4871a16 Switched key of strings object so that there's only one object and it's easier to read and therefore translate. Created 't' function to translate strings, changed quotes module to this format. Need to change the others. Will now fall back to English if translation in given language is not available. 2012-05-19 16:33:31 +01:00
Luke Slater
64fd389418 badwords changes 2012-04-20 13:48:12 +01:00
Luke Slater
2954df3a52 ru puns through cleannicks 2012-04-19 20:55:15 +01:00
Luke Slater
573f1fb6ea create sessiondata entry if it doesn't exist 2012-04-19 12:22:04 +01:00
Luke Slater
27d5c1aa61 Right, sessionData isn't in the DB. 2012-04-19 12:20:57 +01:00
Luke Slater
eb683369f2 onLoad has no data argument 2012-04-19 12:19:09 +01:00
Luke Slater
b2ede3f5d5 print the error to console if it fails to load a module 2012-04-19 12:14:08 +01:00
Luke Slater
b6607f7cd6 quoteArrs, not quotes... jesus reality 2012-04-19 12:09:14 +01:00
Luke Slater
fc5043e310 experimental badwords stuff 2012-04-19 12:02:27 +01:00
Luke Slater
9be6d5beaa experimental badwords stuff 2012-04-19 12:01:06 +01:00
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