This commit is contained in:
nguyen dung 2022-02-25 15:36:54 +00:00
parent 9ba0a51a89
commit 595de440a0

View File

@ -363,15 +363,6 @@ puppeteer
const res = await response.json(); const res = await response.json();
if (res.ok) { if (res.ok) {
d = res.d; d = res.d;
TeleGlobal.sendMessage(
TELEGRAM_CHANNEL,
`
💰 TK Demo: ${d.demoBalance}
💰 TK USDT: ${d.usdtAvailableBalance}
💰 TK ALI: ${d.aliAvailableBalance}
`,
{ parse_mode: "HTML" }
);
} }
} }
}) })
@ -449,7 +440,8 @@ puppeteer
4. /set_count_trade:[number] - Gặp số lượng lệnh thông như này thì đánh ngược lại 4. /set_count_trade:[number] - Gặp số lượng lệnh thông như này thì đánh ngược lại
5. /set_money_enter:[5,10,20,40] - Vào tiền khi đủ điều kiện 5. /set_money_enter:[5,10,20,40] - Vào tiền khi đủ điều kiện
6. /history - Vào tiền khi đủ điều kiện 6. /history - Vào tiền khi đủ điều kiện
7. /analytic - Thống theo ngày;`, 7. /check_tk - Vào tiền khi đủ điều kiện
8. /analytic - Thống theo ngày;`,
{ parse_mode: "HTML" } { parse_mode: "HTML" }
); );
return; return;
@ -466,6 +458,19 @@ puppeteer
return; return;
} }
if (text === "/check_tk") {
TeleGlobal.sendMessage(
TELEGRAM_CHANNEL,
`
💰 TK Demo: ${d.demoBalance}
💰 TK USDT: ${d.usdtAvailableBalance}
💰 TK ALI: ${d.aliAvailableBalance}
`,
{ parse_mode: "HTML" }
);
return;
}
if (text === "/enable_auto_trade") { if (text === "/enable_auto_trade") {
CONFIG.autoTrade = true; CONFIG.autoTrade = true;
TeleGlobal.sendMessage( TeleGlobal.sendMessage(