deluxghost / simple-asf-bot

Manage ASF bot in Telegram
18 stars 5 forks source link

Python Version Ubtunu 16.04 VPS #2

Closed Caddyrn closed 5 years ago

Caddyrn commented 6 years ago

Hey, i get this Error with your Script :(

a root@:/home/Archisteamfarm/config/TeleBot# python bot.py Traceback (most recent call last): File "bot.py", line 11, in import ASF_IPC as asf File "/usr/local/lib/python2.7/dist-packages/ASF_IPC/init.py", line 139 async def start_log(self): ^ SyntaxError: invalid syntax root@:/home/Archisteamfarm/config/TeleBot# python3 bot.py Traceback (most recent call last): File "bot.py", line 11, in import ASF_IPC as asf File "/usr/local/lib/python3.5/dist-packages/ASF_IPC/init.py", line 159

 ^

SyntaxError: 'yield' inside async function root@h2777498:/home/Archisteamfarm/config/TeleBot#

deluxghost commented 6 years ago

in the latest version, this bot needs python 3.6 or above to run. because the ASF-IPC lib needs that.

ASF-IPC needs python 3.6+ because it should support the new dynamic /Api/Log api of ASF

tgbot will also support logs sometime but i'm not sure