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" {
|
||||
mFmt := message.NewPrinter(language.AmericanEnglish)
|
||||
baseAmount := 35.
|
||||
trangBucBaseAmount := 17.
|
||||
basePrice := 2500.0
|
||||
baseTotal := baseAmount * basePrice
|
||||
trangBucTotal := trangBucBaseAmount * basePrice
|
||||
curTotal := baseAmount * sp
|
||||
trangBucCurTotal := trangBucBaseAmount * sp
|
||||
|
||||
lastDelta := ""
|
||||
if lastEthPrice == 0 {
|
||||
@@ -65,18 +68,23 @@ func OnTokenInfoByToken(context telebot.Context, token string) error {
|
||||
}
|
||||
|
||||
msg := mFmt.Sprintf(
|
||||
"🎉🎊🎊🦈🦈🦈 @th13vn 🦈🦈🦈🎊🎊🎉\n"+
|
||||
"🎉🎊🎊🦈🦈🦈 @th13vn Real 🦈🦈🦈🎊🎊🎉\n"+
|
||||
"∑ USDT: $%.0f\n"+
|
||||
"Lợi nhuận: $%.0f\n"+
|
||||
"%s\n"+
|
||||
"🚀🚀🚀🚀🚀 Road to 5k 🚀🚀🚀🚀🚀: \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-baseTotal,
|
||||
lastDelta,
|
||||
5000-sp,
|
||||
5000*baseAmount-curTotal,
|
||||
trangBucCurTotal,
|
||||
trangBucCurTotal-trangBucTotal,
|
||||
)
|
||||
|
||||
_ = chat.ReplyMessage(context, msg)
|
||||
|
||||
Reference in New Issue
Block a user