From 14f0090ea908143dddddcad6d745e9e6b4ccc962 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Tue, 30 Aug 2016 15:46:59 -0400 Subject: [PATCH] thats it --- bots/tipbot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bots/tipbot.js b/bots/tipbot.js index 93c9191..b845bba 100644 --- a/bots/tipbot.js +++ b/bots/tipbot.js @@ -43,9 +43,9 @@ function respond(bot, data) { var subcommand = words.length >= 2 ? words[1] : 'help'; - var moveToBotSandbox = !tipper.is_admin && !tipper.is_owner && channel.name !== 'bot-sandbox' && ['help', 'balance', 'deposit', 'withdraw'].indexOf(subcommand) != -1 + var moveToBotSandbox = !tipper.is_admin && !tipper.is_owner && channel !== 'C1TEEBS2Z' && ['help', 'balance', 'deposit', 'withdraw'].indexOf(subcommand) != -1 if (moveToBotSandbox) { - bot.postMessage(channel, 'Please use #bot-sandbox to talk to bots', globalSlackParams); + bot.postMessage(channel, 'Please use <#C1TEEBS2Z|bot-sandbox> to talk to bots.', globalSlackParams); return; }