disable gifbot til we fix lbrynet
This commit is contained in:
parent
0af495264d
commit
5fc97d5785
1 changed files with 3 additions and 3 deletions
6
app.js
6
app.js
|
@ -30,8 +30,8 @@ tipbot.init(process.env.RPCUSER, process.env.RPCPASSWORD);
|
||||||
var hashbot = require('./bots/hashbot');
|
var hashbot = require('./bots/hashbot');
|
||||||
hashbot.init(slackbot, process.env.MINING_CHANNEL);
|
hashbot.init(slackbot, process.env.MINING_CHANNEL);
|
||||||
|
|
||||||
var gifbot = require('./bots/gifbot');
|
//var gifbot = require('./bots/gifbot');
|
||||||
gifbot.init(slackbot, process.env.IMGUR_CLIENT_ID);
|
//gifbot.init(slackbot, process.env.IMGUR_CLIENT_ID);
|
||||||
|
|
||||||
slackbot.on('start', function() {
|
slackbot.on('start', function() {
|
||||||
slackbot.on('message', function(data) {
|
slackbot.on('message', function(data) {
|
||||||
|
@ -39,7 +39,7 @@ slackbot.on('start', function() {
|
||||||
setTimeout(function() { sendWelcomeMessage(data.user.id); }, 2000); //Delay because of slow slack api updates which sometimes does not send msg.
|
setTimeout(function() { sendWelcomeMessage(data.user.id); }, 2000); //Delay because of slow slack api updates which sometimes does not send msg.
|
||||||
}
|
}
|
||||||
if (data.text) {
|
if (data.text) {
|
||||||
gifbot.handle_msg(data.text, data.channel);
|
// gifbot.handle_msg(data.text, data.channel);
|
||||||
|
|
||||||
var command = data.text.trim().split(' ')[0];
|
var command = data.text.trim().split(' ')[0];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue