Move os import into .sh

This commit is contained in:
Michael De Roover 2021-03-26 22:00:54 +01:00
parent 060ba35764
commit 7a528877db
Signed by: vim
GPG Key ID: 075496E232CE04CB

View File

@ -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']