Added tipping redir and edited help message to match the latest changes

This commit is contained in:
Fillerino 2017-06-19 21:26:51 +02:00
parent c31d2e9492
commit fa214244bb

4
app.js
View file

@ -49,7 +49,7 @@ slackbot.on('start', function() {
if (command === '!help') { if (command === '!help') {
var helpMsg = "I'm Wunderbot, LBRY's slackbot. Here's what I can do:\n" + var helpMsg = "I'm Wunderbot, LBRY's slackbot. Here's what I can do:\n" +
'`!help` shows this message\n' + '`!help` shows this message\n' +
'`!tip` sends LBC tips to others, and withdraws and deposits credits into the your tipping wallet\n' + '`!tip` sends LBC tips to others, and withdraws and deposits credits into the your tipping wallet*(now handled by <@tipbot>)*\n' +
'`!hash` reports on the LBRY blockchain\n' + '`!hash` reports on the LBRY blockchain\n' +
'_type any of the above commands for more info_\n' + '_type any of the above commands for more info_\n' +
'\n' + '\n' +
@ -65,7 +65,7 @@ slackbot.on('start', function() {
} }
if (command === '!tip' && data.channel.startsWith("D")) { if (command === '!tip' && data.channel.startsWith("D")) {
var tipMsg = 'Sorry, tipping is now handled by <@B5VESJN2D>\n'; var tipMsg = 'Sorry, tipping is now handled by <@tipbot>\n';
slackbot.postMessage(data.channel, tipMsg, {icon_emoji: ':bulb:'}); slackbot.postMessage(data.channel, tipMsg, {icon_emoji: ':bulb:'});
} }