Merge pull request #4 from PerchunPak/patch-2
Include `Profit` field into webhook "purchased" notification
This commit is contained in:
commit
fc48ff15ae
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