diff --git a/ubot.py b/ubot.py index 984a48c..63200a2 100755 --- a/ubot.py +++ b/ubot.py @@ -1,5 +1,4 @@ #!/usr/bin/python3 -import os from telethon import TelegramClient, events from config import * @@ -95,6 +94,8 @@ async def edit(event): await client.send_message('me', rpl) return + import os + cmd = msg.split(' ', 1)[1] host = os.uname()[1] user = os.environ['USER']