diff --git a/bot.js b/bot.js index e69b490..636710e 100644 --- a/bot.js +++ b/bot.js @@ -1,4 +1,20 @@ +const child_process = require("child_process") + +var commits = child_process.execSync("git rev-list --count HEAD").toString().trim() + var responses = [ + { + "type": "random", + "keywords": [ + ["tetobot"], + ["commit", "version"] + ], + "replies": [ + () => { + return `I am on commit ${commits}. Yowzers!!!` + } + ] + } { "type": "random", "keywords": [