Trevor Hartman
Trevor Hartman
http://www.reddit.com/r/catgifs.json
This is solvable with: ``` !json https://www.reddit.com/r/catgifs.json | json path $.data.children.[*].data.preview.images[0].source.url ``` Leaving this open until we document it in the examples at https://yetibot.com/user-guide#examples
If we switch to cloure.spec (https://github.com/devth/yetibot/issues/576) we get support for config generation.
Related to https://github.com/yetibot/yetibot/issues/576
Awesome! Yes let me give an example when Iām at my machine in a little while.
I could imagine it looking like this: ``` !gh comment yetibot/yetibot#899 this is a comment ``` That would post a comment `this is a comment` on this issue.
I'm using a mattermost bot account on a [server I provisioned](https://yetibot-mattermost.herokuapp.com/) using the [Heroku deploy button in the docs](https://github.com/mattermost/mattermost-server#deploy-on-heroku). You're welcome to test on it if you'd like. I can...
hey @PabloReszczynski! 1. Checkout the [existing sed implementation](https://github.com/yetibot/yetibot/blob/master/src/yetibot/commands/sed.clj). It's pretty simple and uses `clojure.string/replace` already. 2. Come up with a new command (maybe we call it `replace`?) that basically exposes...
What do you think about this? ```clojure (cmd-hook #"replace" #"(\S+)\s+(\S)" replace-cmd) ``` Captures two non-whitespace groups of characters separated by whitespace.
Not currently but I've often thought it'd be useful. Let me think on that a bit and maybe I can add something for that today or soon. š¤