From 3e054645ac0690e62f11c16cf6a5de5b126d331c Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Tue, 16 Apr 2019 17:24:01 +0100 Subject: [PATCH] Hubot Help config for DM replies Instead of pasting the entire help content publicly, it can now respond in private (except it seems that only works on IRC, not XMPP). --- site-cookbooks/kosmos-hubot/recipes/botka_freenode.rb | 1 + site-cookbooks/kosmos-hubot/recipes/hal8000.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/site-cookbooks/kosmos-hubot/recipes/botka_freenode.rb b/site-cookbooks/kosmos-hubot/recipes/botka_freenode.rb index 2e5b7d7..65c2779 100644 --- a/site-cookbooks/kosmos-hubot/recipes/botka_freenode.rb +++ b/site-cookbooks/kosmos-hubot/recipes/botka_freenode.rb @@ -70,6 +70,7 @@ application botka_freenode_path do # "HUBOT_LOG_LEVEL" => "error", "EXPRESS_PORT" => "8081", "HUBOT_AUTH_ADMIN" => "bkero,derbumi,galfert,gregkare,jaaan,slvrbckt,raucao", + "HUBOT_HELP_REPLY_IN_PRIVATE" => "true", "RS_LOGGER_USER" => "kosmos@5apps.com", "RS_LOGGER_TOKEN" => botka_freenode_data_bag_item['rs_logger_token'], "RS_LOGGER_SERVER_NAME" => "freenode", diff --git a/site-cookbooks/kosmos-hubot/recipes/hal8000.rb b/site-cookbooks/kosmos-hubot/recipes/hal8000.rb index 056a132..11941fe 100644 --- a/site-cookbooks/kosmos-hubot/recipes/hal8000.rb +++ b/site-cookbooks/kosmos-hubot/recipes/hal8000.rb @@ -98,6 +98,7 @@ application hal8000_path do "EXPRESS_PORT" => "8080", "HUBOT_RSS_HEADER" => "Update:", "HUBOT_AUTH_ADMIN" => "bkero,derbumi,galfert,gregkare,slvrbckt,raucao", + "HUBOT_HELP_REPLY_IN_PRIVATE" => "true", "WEBHOOK_TOKEN" => hal8000_freenode_data_bag_item['webhook_token'], "IPFS_API_HOST" => node['hal8000']['kredits']['ipfs_host'], "IPFS_API_PORT" => node['hal8000']['kredits']['ipfs_port'],