Merge pull request #65 from lbryio/filipnyquist-patch-1

Fixed problem with balances.
This commit is contained in:
filipnyquist 2017-11-01 23:57:04 +01:00 committed by GitHub
commit 59b66dc12a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,8 +104,8 @@ function doTip(message, tipper, words) {
return; return;
} }
if (words[1].match(/^<@[^>]+>$/)) { if (message.mentions.members.first().id) {
let id = words[1].substr(2,words[1].length-3); let id = message.mentions.members.first().id;
sendLbc(message, tipper, id, amount); sendLbc(message, tipper, id, amount);
} }
else else