3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 19:52:36 +01:00
dbot/modules
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
..
admin remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
command Command hooks [#86] 2013-01-15 17:23:14 +00:00
dent Command hooks [#86] 2013-01-15 17:23:14 +00:00
dice remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
ignore remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
js remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
kick remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
link remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
poll remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
quotes Command hooks [#86] 2013-01-15 17:23:14 +00:00
report remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
spelling remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
stats@31781a9e64 update stats! A+ work @samstudio8 [#131] 2013-01-15 15:34:47 +00:00
users remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
web remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
youare remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00