🤖 Telegram Bot - Debug Mode

Test příkazu: /yieldall (en)

❌ You do not have admin permission

🔗 Test odkazy:

🇨🇿 Česky:

📊 Test /rates - Max rates všechny měny

📊 Test /r - Stejné jako /rates

💰 Test /rusd - Rates pouze USD

💰 Test /rbtc - Rates pouze BTC

💰 Test /rust - Rates pouze UST

📈 Test /status - Rychlý přehled

💰 Test /yield - Earnings aktuálního uživatele

💰 Test /yieldall - Earnings všech uživatelů

❓ Test /help - Nápověda

🇺🇸 English:

📊 Test /rates - Max rates all currencies

📊 Test /r - Same as /rates

💰 Test /rusd - USD rates only

💰 Test /rbtc - BTC rates only

💰 Test /rust - UST rates only

📈 Test /status - Quick overview

💰 Test /yield - Current user earnings

💰 Test /yieldall - All users earnings

❓ Test /help - Help

📋 Nastavení Webhook

Pro aktivaci Telegram příkazů nastav webhook:

curl "https://api.telegram.org/bot7381636391:AAF4DgGo1vUfmN9gp_36mu3FNL8DitJTFOA/setWebhook?url=https://orb.claudev.cz/bitfinexbot/telegram_bot.php"

📊 Funkce:

🔍 Debug: Proč chybí UST v kratších obdobích?

⏰ Posledních 24 hodin (24h)

Start time: 2026-04-09 22:56:43 (timestamp: 1775775403)

End time: 2026-04-10 22:56:43 (timestamp: 1775861803)

Celkem záznamů: 2

💰 Všechny měny v období:

• USD: 2,113.24880391

• UST: 102,820.49215944

🎯 UST earnings v období:

✅ Nalezeno 1 UST earnings:

• 1970-04-30 17:19:28: 102820.49215944 UST

📊 Test formatEarningsSummary():

💰 2,113.25 USD
💰 102,820.49 UST

⏰ Poslední týden (1w)

Start time: 2026-04-03 22:56:43 (timestamp: 1775257003)

End time: 2026-04-10 22:56:43 (timestamp: 1775861803)

Celkem záznamů: 5

💰 Všechny měny v období:

• USD: 930,251.01393730

• UST: 102,820.49215944

🎯 UST earnings v období:

✅ Nalezeno 1 UST earnings:

• 1970-04-30 17:19:28: 102820.49215944 UST

📊 Test formatEarningsSummary():

💰 930,251.01 USD
💰 102,820.49 UST

⏰ Poslední měsíc (1m)

Start time: 2026-03-11 22:56:43 (timestamp: 1773269803)

End time: 2026-04-10 22:56:43 (timestamp: 1775861803)

Celkem záznamů: 5

💰 Všechny měny v období:

• USD: 930,251.01393730

• UST: 102,820.49215944

🎯 UST earnings v období:

✅ Nalezeno 1 UST earnings:

• 1970-04-30 17:19:28: 102820.49215944 UST

📊 Test formatEarningsSummary():

💰 930,251.01 USD
💰 102,820.49 UST

⏰ Poslední 3 měsíce (3m)

Start time: 2026-01-10 22:56:43 (timestamp: 1768085803)

End time: 2026-04-10 22:56:43 (timestamp: 1775861803)

Celkem záznamů: 5

💰 Všechny měny v období:

• USD: 930,251.01393730

• UST: 102,820.49215944

🎯 UST earnings v období:

✅ Nalezeno 1 UST earnings:

• 1970-04-30 17:19:28: 102820.49215944 UST

📊 Test formatEarningsSummary():

💰 930,251.01 USD
💰 102,820.49 UST

🎯 Analýza známých UST earnings

Z předchozího testu víme o těchto UST earnings:

🔍 Hledání konkrétních UST záznamů:

Všechny UST earnings nalezené:

• Index 0: 1970-04-30 17:19:28 (20434.2 dnů zpět) - 102820.49215944 UST

→ Mělo by být v obdobích: