From 15456855021386eabb0ae837f4970b71aa631043 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Wed, 26 Sep 2018 22:43:10 -0400 Subject: [PATCH] Update tipbot.js fix private roletip? Similar to https://github.com/lbryio/lbry-tipbot/pull/20/files --- bot/modules/tipbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/tipbot.js b/bot/modules/tipbot.js index f55b7ac..c57e9dd 100644 --- a/bot/modules/tipbot.js +++ b/bot/modules/tipbot.js @@ -246,7 +246,7 @@ function doRoleTip(bot, message, tipper, words, helpmsg, MultiorRole) { if (message.mentions.roles.first().members.first().id) { let userIDs = message.mentions.roles.first().members.map(member => member.user.id.replace('!', '')); for (let i = 0; i < userIDs.length; i++) { - sendLBC(bot, message, tipper, userIDs[i], amount, prv, MultiorRole); + sendLBC(bot, message, tipper, userIDs[i].toString(), amount, prv, MultiorRole); } } else { return message.reply('Sorry, I could not find any users to tip in that role...').then(message => message.delete(10000));