Fixed problem with balances.
Fixed the problem regarding MSFTservers balance and found a small problem which should be fixed by this quickfix, someone please review ASAP.
This commit is contained in:
parent
eaa99012fd
commit
0c6162c184
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…
Add table
Reference in a new issue