fixed improper syntax #4

Merged
nikooo777 merged 1 commit from master into master 2017-12-14 22:47:14 +01:00
2 changed files with 1913 additions and 2 deletions

View file

@ -15,7 +15,7 @@ exports.tip = {
let tipper = msg.author.id,
words = msg.content.trim().split(' ').filter( function(n){return n !== "";} ),
subcommand = words.length >= 2 ? words[1] : 'help';
switch subcommand {
switch (subcommand) {
case 'help': doHelp(msg); break;
case 'balance': doBalance(msg, tipper); break;
case 'deposit': doDeposit(msg, tipper); break;
@ -23,7 +23,7 @@ exports.tip = {
default: doTip(msg, tipper, words);
}
}
}
function doBalance(message, tipper) {
lbry.getBalance(tipper, 1, function(err, balance) {

1911
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff