commit
22af3edc89
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ function doTip(message, tipper, words, helpmsg) {
|
||||||
return message.reply("I don't know how to tip that many credits...").then(message => message.delete(5000));
|
return message.reply("I don't know how to tip that many credits...").then(message => message.delete(5000));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (message.mentions.users.first().id) {
|
if (message.mentions.users.first() && message.mentions.users.first().id) {
|
||||||
return sendLBC(message, tipper, message.mentions.users.first().id.replace('!', ''), amount, prv);
|
return sendLBC(message, tipper, message.mentions.users.first().id.replace('!', ''), amount, prv);
|
||||||
}
|
}
|
||||||
message.reply('Sorry, I could not find a user in your tip...');
|
message.reply('Sorry, I could not find a user in your tip...');
|
||||||
|
|
Loading…
Reference in a new issue