Move os import into .sh
This commit is contained in:
parent
060ba35764
commit
7a528877db
3
ubot.py
3
ubot.py
@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
import os
|
|
||||||
from telethon import TelegramClient, events
|
from telethon import TelegramClient, events
|
||||||
from config import *
|
from config import *
|
||||||
|
|
||||||
@ -95,6 +94,8 @@ async def edit(event):
|
|||||||
await client.send_message('me', rpl)
|
await client.send_message('me', rpl)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
cmd = msg.split(' ', 1)[1]
|
cmd = msg.split(' ', 1)[1]
|
||||||
host = os.uname()[1]
|
host = os.uname()[1]
|
||||||
user = os.environ['USER']
|
user = os.environ['USER']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user