crypto.ai/test.py
2025-06-21 10:00:37 +08:00

19 lines
448 B
Python

from cryptoai.agents.crypto_agent import CryptoAgent
import cryptoai.tasks.token_selector as token_selector
import telegram
import asyncio
async def main():
# token_selector.main()
#https://t.me/c/2299979359/26
chat_id = "2299979359"
bot = telegram.Bot(token="5671996954:AAH5ymtcEPEnjlkI5ah2I8MemScmX3VF3bY")
await bot.send_message(chat_id=chat_id, text="Hello, world!")
if __name__ == "__main__":
asyncio.run(main())