Merge pull request #4 from nikooo777/master

Merged!
This commit is contained in:
filipnyquist 2017-12-14 22:47:14 +01:00 committed by GitHub
commit 5c21d0fd22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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