Started work on the next version of tipbot #9

Merged
filipnyquist merged 4 commits from next-tipbot into master 2018-07-06 15:52:09 +02:00
2 changed files with 9 additions and 14 deletions
Showing only changes of commit 8166a4da5e - Show all commits

View file

@ -4,7 +4,6 @@ const winston = require("winston");
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
require("winston-daily-rotate-file");
const Client = require("bitcoin-core");
const lbry = new Client({
version: "0.12.0",
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
username: config.get("lbrycrd.username"),
password: config.get("lbrycrd.password"),
port: config.get("lbrycrd.port")
@ -44,7 +43,7 @@ stream.on("tweet", function(tweet) {
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
if(tweet.user.screen_name === config.get("bot.handle").substring(1)) return;
let msg = checkTrunc(tweet);
msg = msg.slice(msg.indexOf(config.get("bot.handle"))).split(" ");
nikooo777 commented 2018-07-06 12:16:01 +02:00 (Migrated from github.com)
Review

splitting produces an array, however the length of the array is never checked.

splitting produces an array, however the length of the array is never checked.
filipnyquist commented 2018-07-06 14:21:16 +02:00 (Migrated from github.com)
Review

I´ll add a check so that it contains atleast two items, the mention and the trigger word

I´ll add a check so that it contains atleast two items, the mention and the trigger word
checkTweet(tweet, msg);
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
if (msg.length >= 2) checkTweet(tweet, msg);
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
});
function checkTweet(tweet, msg) {
@ -84,7 +83,8 @@ async function doHelp(tweet, msg) {
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
"balance - Get your balance. \n" +
"deposit - Get address for your deposits. \n" +
"withdraw ADDRESS AMOUNT - Withdraw AMOUNT credits to ADDRESS. \n" +
"tip USER AMOUNT - Tip USER AMOUNT.",
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
"tip USER AMOUNT - Tip USER AMOUNT.\n"+
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
"terms - Sends you the TOS.",
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
in_reply_to_status_id: tweet.id_str
});
logger.info(
@ -100,7 +100,7 @@ async function doTerms(tweet, msg){
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
status:
`@${tweet.user.screen_name} `+
"There are no fees to use this bot except the automatic daemon fee. \n"+
"In no event shall LBRY Inc be responsible in the event of lost, stolen or misdirected funds.",
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
"Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.",
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
in_reply_to_status_id: tweet.id_str
});
}
@ -173,7 +173,7 @@ async function doTip(tweet, msg) {
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
});
}
const userToTip = tweet.entities.user_mentions.find(u => `@${u.screen_name}` === msg[2]).id_str;
await getAddress(id(userToTip)) // Call this to ensure user has an account.
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
let tipToAddress = await getAddress(id(userToTip)) // Call this to ensure user has an account.
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
if (userToTip === null) {
return await T.post("statuses/update", {
status: `@${tweet.user.screen_name} I could not find that user...`,
@ -183,19 +183,15 @@ async function doTip(tweet, msg) {
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
const balanceFromUser = await lbry.getBalance(id(tweet.user.id_str), config.get("bot.requiredConfirms"));
if (balanceFromUser < amount) {
return await T.post("statuses/update", {
status: `@${tweet.user.screen_name} You tried to tip, but you are missing ${amount-balanceFromUser} LBC.`,
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
status: `@${tweet.user.screen_name} You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`,
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
in_reply_to_status_id: tweet.id_str
});
}
const txId = await lbry.move(
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
id(tweet.user.id_str),
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
id(userToTip),
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
Number(amount)
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
);
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
const txId = await lbry.sendFrom(id(tweet.user.id_str), tipToAddress, Number(amount), 1);
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
await T.post("statuses/update", {
status: `@${tweet.user.screen_name} Tipped ${
msg[2]
} ${amount} LBC! \n See https://lbry.io/faq/tipbot-twitter for more information.`,
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
} ${amount} LBC! \nTransaction: ${txLink(txId)} \nSee https://lbry.io/faq/tipbot-twitter for more information.`,
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
in_reply_to_status_id: tweet.id_str
});
logger.info(

nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!
nikooo777 commented 2018-07-02 16:27:41 +02:00 (Migrated from github.com)
Review

don't forget to change or parameterize the track value.
also I'd use let rather than var.

don't forget to change or parameterize the track value. also I'd use `let` rather than var.
nikooo777 commented 2018-07-02 16:31:03 +02:00 (Migrated from github.com)
Review

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.

3 is a magic number here in the sense that I have no clue what it is. I guess that it's not a problem on webstorm if it shows the parameter name, but worth keeping in mind that from outside the IDE it might not be easy to read.
nikooo777 commented 2018-07-06 12:09:04 +02:00 (Migrated from github.com)
Review

I don't think this is needed, is it?

I don't think this is needed, is it?
nikooo777 commented 2018-07-06 12:16:52 +02:00 (Migrated from github.com)
Review

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries.

I would suggest adding a check somewhere in-between.

...thus if the split didn't go right, there is a chance that the bot crashes on this line as the array doesn't have at least 2 entries. I would suggest adding a check somewhere in-between.
nikooo777 commented 2018-07-06 12:18:35 +02:00 (Migrated from github.com)
Review

terms is missing

`terms` is missing
nikooo777 commented 2018-07-06 12:20:53 +02:00 (Migrated from github.com)
Review

My English isn't exceptional but I think the sentence should be changed to:

Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.

My English isn't exceptional but I think the sentence should be changed to: `Under no circumstances shall LBRY Inc. be held responsible for lost, stolen or misdirected funds.`
nikooo777 commented 2018-07-06 12:35:30 +02:00 (Migrated from github.com)
Review

You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.

`You tried tipping more than you have! You are ${amount-balanceFromUser} LBC short.`
nikooo777 commented 2018-07-06 12:36:56 +02:00 (Migrated from github.com)
Review

I think it'd be nice to add a link to the explorer here (short if possible?)

I think it'd be nice to add a link to the explorer here (short if possible?)
filipnyquist commented 2018-07-06 14:20:47 +02:00 (Migrated from github.com)
Review

Correct, as i look through the library i can now see that it is not needed

Correct, as i look through the library i can now see that it is not needed
filipnyquist commented 2018-07-06 14:26:02 +02:00 (Migrated from github.com)
Review

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.

The tipping here is internally, which means it just moves the amount between the accounts, this helps us skip fees. So the coins shows up directly in the other persons wallet.
filipnyquist commented 2018-07-06 14:37:08 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:15 +02:00 (Migrated from github.com)
Review

Will fix!

Will fix!
filipnyquist commented 2018-07-06 14:37:19 +02:00 (Migrated from github.com)
Review

Added!

Added!
filipnyquist commented 2018-07-06 14:37:26 +02:00 (Migrated from github.com)
Review

Check added!

Check added!

View file

@ -85,9 +85,8 @@ async function getAddress(userId) {
nikooo777 commented 2018-07-06 12:43:17 +02:00 (Migrated from github.com)
Review

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?
filipnyquist commented 2018-07-06 14:35:11 +02:00 (Migrated from github.com)
Review

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account
nikooo777 commented 2018-07-06 12:43:17 +02:00 (Migrated from github.com)
Review

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?
filipnyquist commented 2018-07-06 14:35:11 +02:00 (Migrated from github.com)
Review

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account
let uAddresses = await lbry.getAddressesByAccount(userId);
nikooo777 commented 2018-07-06 12:40:06 +02:00 (Migrated from github.com)
Review

i'm slightly confused. Is this function supposed to generate addresses for users that were tipped but didn't yet have an account to their user?

i'm slightly confused. Is this function supposed to generate addresses for users that were tipped but didn't yet have an account to their user?
filipnyquist commented 2018-07-06 14:33:25 +02:00 (Migrated from github.com)
Review

That function is there to assure that the user has a tipping account in the new format, as the user needs that for the bot to be able to move over from the old account to the new account.(This function follows the new id format instead of username)

That function is there to assure that the user has a tipping account in the new format, as the user needs that for the bot to be able to move over from the old account to the new account.(This function follows the new id format instead of username)
filipnyquist commented 2018-07-06 14:36:46 +02:00 (Migrated from github.com)
Review

So yep, it is there to generate adresses(accounts) for users not having an account already.

So yep, it is there to generate adresses(accounts) for users not having an account already.
if (uAddresses.length > 0) return;
await lbry.getNewAddress(userId);
return;
nikooo777 commented 2018-07-06 12:43:17 +02:00 (Migrated from github.com)
Review

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?
filipnyquist commented 2018-07-06 14:35:11 +02:00 (Migrated from github.com)
Review

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account
} catch (e) {
logger.error(e);
nikooo777 commented 2018-07-06 12:43:17 +02:00 (Migrated from github.com)
Review

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?
filipnyquist commented 2018-07-06 14:35:11 +02:00 (Migrated from github.com)
Review

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account
throw("Something went wrong while creating an account for the user: ", e);
nikooo777 commented 2018-07-06 12:43:17 +02:00 (Migrated from github.com)
Review

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?
filipnyquist commented 2018-07-06 14:35:11 +02:00 (Migrated from github.com)
Review

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account
}
}

nikooo777 commented 2018-07-06 12:43:17 +02:00 (Migrated from github.com)
Review

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?
filipnyquist commented 2018-07-06 14:35:11 +02:00 (Migrated from github.com)
Review

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account
nikooo777 commented 2018-07-06 12:43:17 +02:00 (Migrated from github.com)
Review

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?

you're catching the error here, but what happens if something doesn't go right? Will a tip go through and fail along the process somewhere?
filipnyquist commented 2018-07-06 14:35:11 +02:00 (Migrated from github.com)
Review

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account

It should probably not be catched there, instead it should throw an error in the main loop, making it impossible to try and send coins over to a non existing account