Skip to content

Commit

Permalink
Merge pull request LBRYFoundation#20 from ProfessorDey/patch-4
Browse files Browse the repository at this point in the history
Fixing Roletip sendLBC call
  • Loading branch information
nikooo777 authored Mar 21, 2018
2 parents 44f4b44 + db8d90b commit 34b7b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/modules/tipbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function doRoleTip(message, tipper, words, helpmsg) {
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; i++) {
sendLBC(message, tipper, userIDs[i], amount, prv);
sendLBC(message, tipper, userIDs[i].toString(), amount, prv);
}
} else {
message.reply('Sorry, I could not find any users to tip in that role...').then(message => message.delete(5000));
Expand Down

0 comments on commit 34b7b23

Please sign in to comment.