Include Profit
field into webhook "purchased" notification
This commit is contained in:
parent
242b2835f7
commit
2458b9c373
1 changed files with 1 additions and 0 deletions
|
@ -353,6 +353,7 @@ public class Flipper {
|
|||
.addField("Item:", name, true)
|
||||
.addField("Price:", format.format(price), true)
|
||||
.addField("Target Price:", format.format(target), true)
|
||||
.addField("Profit:", df.format(target - price), true)
|
||||
.addField("Profit Percentage:", df.format((double) (target - price) / price * 100f) + "%", true)
|
||||
.setColor(Color.decode(color));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue