3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-30 14:42:51 +01:00
Commit Graph

55 Commits

Author SHA1 Message Date
reality
a101cfe437 domain err catch 2015-01-19 22:59:26 +00:00
reality
51426264d6 first step of [#616] 2014-06-03 22:47:52 +00:00
reality
a4009d7ff3 fix regex glober 2013-12-29 18:47:31 +00:00
reality
6204df19c0 initial support for optional command prefix. module commands can currently either use ~command or just command as key, since module loader implements legacy support by shifting the key. there may be a couple of bugs too if there are any recursive commands 2013-12-29 18:13:59 +00:00
reality
0fac0ac948 ability to set a custom resolver function on commands to gain info, applied this pattern to lastfm 2013-10-25 15:26:53 +00:00
reality
a238994e0f voiced in chan can quiet 2013-09-07 17:55:48 +00:00
reality
b1c41008ce ~~-nick-~~ 2013-08-31 22:57:29 +00:00
reality
d718b81d79 bleh 2013-08-27 23:23:33 +00:00
reality
6fb7c8e91f fix the quote/command correct order thing 2013-08-17 18:13:38 +00:00
reality
745a763b7f return after giving command suggestion 2013-08-12 23:32:23 +00:00
reality
7517540cc5 derp 2013-08-12 23:18:40 +00:00
reality
0a212bab1d some command correction shiz 2013-08-12 23:14:44 +00:00
reality
55d8e9257e syntax error 2013-07-24 22:48:35 +00:00
reality
f882d16313 urgh 2013-07-24 22:45:57 +00:00
reality
827e27bed9 fix 2013-07-24 22:42:02 +00:00
reality
b86987dc48 wat 2013-07-14 10:58:59 +00:00
reality
2bdfc55879 ffs 2013-07-14 10:55:08 +00:00
reality
9abecc6232 derp [#533] 2013-07-14 09:50:51 +00:00
reality
e1629f3a16 Alias support for command.api.hasAccess [#515][#514][#511] 2013-06-27 16:51:32 +00:00
reality
68b0977bae ignore uses event.rUser [#511][#514] 2013-06-27 15:33:18 +00:00
reality
3726be64b7 yee 2013-05-27 17:48:36 +00:00
reality
429eafd8e4 banOutput option in command [#460] 2013-05-27 17:45:30 +00:00
reality
9847a05301 Add accessOutput command to tell users when they are not authorised to run a command [#467] 2013-05-26 14:14:01 +00:00
reality
2fc5fc6992 remove command hooks [#471] 2013-05-25 22:09:07 +00:00
reality
5bf6088453 fix command emit on reload 2013-05-25 21:34:11 +00:00
reality
712db49274 Merge github.com:reality/depressionbot into database 2013-05-25 21:05:45 +00:00
reality
1e2a823ef2 Initial logging module [#336] 2013-05-25 19:13:35 +00:00
reality
4891b70ec3 merge [#307] 2013-04-30 16:47:47 +00:00
reality
2afb1c6ba3 Add int handling for setconfig, add debugLevel [#307] 2013-04-30 16:44:39 +00:00
reality
9625f1d316 merge with master, command uses nickserv auth in db [#421] 2013-04-24 20:45:20 +00:00
reality
8475aa46e8 command can use nickserv [#421] 2013-04-23 19:07:23 +00:00
reality
11dcaac44c last commit meant admin commands couldnt be run. will rethink later. 2013-04-12 17:59:51 +00:00
reality
38c18366a3 Stop command execution syntax running if line is not a command. Note [#337] was fixed a few commits ago too. 2013-04-12 17:42:11 +00:00
reality
6bae0f47bf ~ignorechannel and ~unignorechannel now databankerised. Fixed bug with not initialising chan ignores onLoad. Ignore now fully databankerised. [#331] 2013-04-11 21:21:12 +00:00
reality
223b20b598 * ~ban and ~unban now fully databankerised and tested [#331]
* Refactored ~ignore and ~unignore
* Refactored API
* Command uses new ban/ignore APIs, removed its own isBanned
* Ignore is now aware of servers [#188]
2013-04-11 20:12:29 +00:00
reality
b56ac4164a isIgnoring now belongs in ignore.api, changes in command to reflect this. ~ignore now operational for commands. [#331] 2013-04-10 01:28:53 +00:00
reality
eb62212626 Add check for channel ignorance in command execution logic [#190] 2013-01-27 16:48:14 +00:00
Luke Slater
6b6907fe7b re-add ~quote syntax 2013-01-24 00:39:42 +01:00
reality
d7bbd57358 what a fool 2013-01-23 13:40:33 +00:00
Luke Slater
c783113cca This should fix that undefined whatsit 2013-01-15 18:38:08 +01:00
reality
921da917a4 Command hooks [#86]
* Command API function to addHook(command, callback)
* Commands open to callbacks must return information or indicate failed completion by return false
* Hooks to be added in module onLoad
* Command loop checks for available hooks and return state, then applies with module scope.
* onLoad running moved to end of all module loading to facilitate this without order problems
* Added example for ~qadd dent
2013-01-15 17:23:14 +00:00
reality
1bd1b5aa56 remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
reality
3bde9e4930 Transformed dent module, changed module loader to give right scope. [#131] 2013-01-14 17:45:53 +00:00
reality
0ff2a43c07 command can stand being run without quotes! 2013-01-14 16:47:48 +00:00
reality
5419a664dc Much better! [#131] 2013-01-14 16:24:38 +00:00
reality
dc269b53b4 Here is an experimental look at how modules will have to be as per [#131] 2013-01-14 16:02:40 +00:00
reality
0769d0bd69 Removed dependency on commandMap (I think ignore might still look at it for now). Underscorised command. [#81] 2013-01-12 16:14:17 +00:00
reality
76733f4679 Remove some debug output 2013-01-12 11:30:39 +00:00
reality
400169f9ee Disable command config [#126] Disabled ~js (good example for [#125]) 2013-01-12 10:12:56 +00:00
reality
f8d4896eb6 Moderator + admin access level for commands [#124]
* May now add property 'access' to commands specifying 'moderator' or 'admin' level access
* Add 'moderators' key to config
* Convert commands in admin module to use command marshalling listener rather than its own
2013-01-12 09:38:13 +00:00