trang bức mode
All checks were successful
Build Docker Image / build (amd64) (push) Successful in 21s
All checks were successful
Build Docker Image / build (amd64) (push) Successful in 21s
This commit is contained in:
@@ -47,9 +47,12 @@ func OnTokenInfoByToken(context telebot.Context, token string) error {
|
|||||||
if strings.ToUpper(token) == "ETH" {
|
if strings.ToUpper(token) == "ETH" {
|
||||||
mFmt := message.NewPrinter(language.AmericanEnglish)
|
mFmt := message.NewPrinter(language.AmericanEnglish)
|
||||||
baseAmount := 35.
|
baseAmount := 35.
|
||||||
|
trangBucBaseAmount := 17.
|
||||||
basePrice := 2500.0
|
basePrice := 2500.0
|
||||||
baseTotal := baseAmount * basePrice
|
baseTotal := baseAmount * basePrice
|
||||||
|
trangBucTotal := trangBucBaseAmount * basePrice
|
||||||
curTotal := baseAmount * sp
|
curTotal := baseAmount * sp
|
||||||
|
trangBucCurTotal := trangBucBaseAmount * sp
|
||||||
|
|
||||||
lastDelta := ""
|
lastDelta := ""
|
||||||
if lastEthPrice == 0 {
|
if lastEthPrice == 0 {
|
||||||
@@ -65,18 +68,23 @@ func OnTokenInfoByToken(context telebot.Context, token string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
msg := mFmt.Sprintf(
|
msg := mFmt.Sprintf(
|
||||||
"🎉🎊🎊🦈🦈🦈 @th13vn 🦈🦈🦈🎊🎊🎉\n"+
|
"🎉🎊🎊🦈🦈🦈 @th13vn Real 🦈🦈🦈🎊🎊🎉\n"+
|
||||||
"∑ USDT: $%.0f\n"+
|
"∑ USDT: $%.0f\n"+
|
||||||
"Lợi nhuận: $%.0f\n"+
|
"Lợi nhuận: $%.0f\n"+
|
||||||
"%s\n"+
|
"%s\n"+
|
||||||
"🚀🚀🚀🚀🚀 Road to 5k 🚀🚀🚀🚀🚀: \n"+
|
"🚀🚀🚀🚀🚀 Road to 5k 🚀🚀🚀🚀🚀: \n"+
|
||||||
"- Δ Price: $%0.0f\n"+
|
"- Δ Price: $%0.0f\n"+
|
||||||
"- Δ Vol: $%0.0f\n",
|
"- Δ Vol: $%0.0f\n"+
|
||||||
|
"💸💸💸💸💸💸 Trang Bức balance 💸💸💸💸💸💸\n"+
|
||||||
|
"∑ USDT: $%.0f\n"+
|
||||||
|
"Lợi nhuận: $%.0f\n",
|
||||||
curTotal,
|
curTotal,
|
||||||
curTotal-baseTotal,
|
curTotal-baseTotal,
|
||||||
lastDelta,
|
lastDelta,
|
||||||
5000-sp,
|
5000-sp,
|
||||||
5000*baseAmount-curTotal,
|
5000*baseAmount-curTotal,
|
||||||
|
trangBucCurTotal,
|
||||||
|
trangBucCurTotal-trangBucTotal,
|
||||||
)
|
)
|
||||||
|
|
||||||
_ = chat.ReplyMessage(context, msg)
|
_ = chat.ReplyMessage(context, msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user