mirror of
https://github.com/LBRYFoundation/lbry-tipbot.git
synced 2025-08-23 08:47:23 +00:00
thats it
This commit is contained in:
parent
a834e838d2
commit
14f0090ea9
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue