From e6c7eb08949234f3a323209a095b9793e3c42f19 Mon Sep 17 00:00:00 2001 From: Josh Klassen Date: Wed, 15 Mar 2017 21:54:33 -0500 Subject: [PATCH 1/2] Set debug to true by default --- .gitignore | 2 ++ bot.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 53b284b..8806562 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ .db node_modules components/routes/_* + +.vscode \ No newline at end of file diff --git a/bot.js b/bot.js index e9fb78d..8bc8c60 100644 --- a/bot.js +++ b/bot.js @@ -64,7 +64,7 @@ var debug = require('debug')('botkit:main'); var controller = Botkit.slackbot({ clientId: process.env.clientId, clientSecret: process.env.clientSecret, - // debug: true, + debug: true, scopes: ['bot'], studio_token: process.env.studio_token, studio_command_uri: process.env.studio_command_uri, From 9d8f4e03a107dbfc3d3bd8f70617e2d1a17a04a2 Mon Sep 17 00:00:00 2001 From: Josh Klassen Date: Tue, 28 Mar 2017 21:08:18 -0500 Subject: [PATCH 2/2] Revert defaults, add commented out disable_startup_messages config option --- bot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 8bc8c60..7db8f29 100644 --- a/bot.js +++ b/bot.js @@ -64,7 +64,8 @@ var debug = require('debug')('botkit:main'); var controller = Botkit.slackbot({ clientId: process.env.clientId, clientSecret: process.env.clientSecret, - debug: true, + // debug: true, + // disable_startup_messages: true, scopes: ['bot'], studio_token: process.env.studio_token, studio_command_uri: process.env.studio_command_uri,