| 16:34 |
shinohai |
trinque: Do you have any usage hints for http://trinque.org/src/logbot-command/ or plan on USAGE file in future edition? |
| 16:35 |
shinohai |
Not having much luck with spyked's trilemabot thing, looking for a better command technique. |
| |
~ 6 hours 24 minutes ~ |
| 23:00 |
trinque |
shinohai: http://trinque.org/src/logbot-wot/patches/genesis.vpatch << this one uses logbot-command |
| 23:00 |
trinque |
in make-logbot-wot you'll see a param called :run-command |
| 23:01 |
trinque |
that bolts a generic method you define to the service which shall used for command dispatch |
| 23:02 |
trinque |
not much documentation, but I'll be happy to walk ya through using it. |
| 23:09 |
trinque |
http://paste.deedbot.org/?id=ug6s << something like this should be all you need to get started |
| 23:09 |
trinque |
note that a logbot-command by default doesn't care about what channel it's in, or who's asking |
| 23:09 |
trinque |
it just horks through privmsgs looking for the prefix |
| 23:10 |
trinque |
to the extent that logbot-wot cares, that's all implemented over there |
| 23:10 |
trinque |
ah shit, didn't change a few instances of logbot-wot, but you get the idear |
| 23:11 |
trinque |
anyhow holler if you get stuck. |