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).
This commit is contained in:
2019-04-16 17:24:01 +01:00
parent b7fe841b6d
commit 3e054645ac
2 changed files with 2 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ application botka_freenode_path do
# "HUBOT_LOG_LEVEL" => "error", # "HUBOT_LOG_LEVEL" => "error",
"EXPRESS_PORT" => "8081", "EXPRESS_PORT" => "8081",
"HUBOT_AUTH_ADMIN" => "bkero,derbumi,galfert,gregkare,jaaan,slvrbckt,raucao", "HUBOT_AUTH_ADMIN" => "bkero,derbumi,galfert,gregkare,jaaan,slvrbckt,raucao",
"HUBOT_HELP_REPLY_IN_PRIVATE" => "true",
"RS_LOGGER_USER" => "kosmos@5apps.com", "RS_LOGGER_USER" => "kosmos@5apps.com",
"RS_LOGGER_TOKEN" => botka_freenode_data_bag_item['rs_logger_token'], "RS_LOGGER_TOKEN" => botka_freenode_data_bag_item['rs_logger_token'],
"RS_LOGGER_SERVER_NAME" => "freenode", "RS_LOGGER_SERVER_NAME" => "freenode",

View File

@@ -98,6 +98,7 @@ application hal8000_path do
"EXPRESS_PORT" => "8080", "EXPRESS_PORT" => "8080",
"HUBOT_RSS_HEADER" => "Update:", "HUBOT_RSS_HEADER" => "Update:",
"HUBOT_AUTH_ADMIN" => "bkero,derbumi,galfert,gregkare,slvrbckt,raucao", "HUBOT_AUTH_ADMIN" => "bkero,derbumi,galfert,gregkare,slvrbckt,raucao",
"HUBOT_HELP_REPLY_IN_PRIVATE" => "true",
"WEBHOOK_TOKEN" => hal8000_freenode_data_bag_item['webhook_token'], "WEBHOOK_TOKEN" => hal8000_freenode_data_bag_item['webhook_token'],
"IPFS_API_HOST" => node['hal8000']['kredits']['ipfs_host'], "IPFS_API_HOST" => node['hal8000']['kredits']['ipfs_host'],
"IPFS_API_PORT" => node['hal8000']['kredits']['ipfs_port'], "IPFS_API_PORT" => node['hal8000']['kredits']['ipfs_port'],