Spaces:
Running
Running
| const apiCaller = require('./skills/api_caller'); | |
| require('dotenv').config(); | |
| const testTelegram = async () => { | |
| const chatId = process.env.TELEGRAM_CHAT_ID; | |
| const message = "<b>VinOS Strategy Lab Live!</b>\nHello Dee! This is your official notification that the VinOS Strategy Lab is now active and ready for arbitrage. 🚀\n\n- Market Scanner: Online\n- Offer Architect: Active\n- Token Gashapon: Functional"; | |
| console.log("Attempting to send test message to ID:", chatId); | |
| const result = await apiCaller.sendTelegramMessage(chatId, message); | |
| if (result.success) { | |
| console.log("Success! Message sent."); | |
| } else { | |
| console.error("Failed to send message:", result.error); | |
| } | |
| }; | |
| testTelegram(); | |