Merge pull request #65 from lbryio/filipnyquist-patch-1
Fixed problem with balances.
This commit is contained in:
commit
59b66dc12a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue