Spaces:
Paused
Paused
Update bot.py
Browse files
bot.py
CHANGED
|
@@ -6,6 +6,11 @@ import logging
|
|
| 6 |
import os
|
| 7 |
from urllib.parse import unquote, urlsplit
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
from telethon import TelegramClient, functions, types
|
| 10 |
from telethon.sessions import StringSession
|
| 11 |
|
|
@@ -161,10 +166,4 @@ if __name__ == "__main__":
|
|
| 161 |
try:
|
| 162 |
asyncio.run(main())
|
| 163 |
except KeyboardInterrupt:
|
| 164 |
-
pass
|
| 165 |
-
|
| 166 |
-
print("--- DUMPING ALL ENVIRONMENT VARIABLES ---")
|
| 167 |
-
for key, value in os.environ.items():
|
| 168 |
-
# This will print default Linux variables along with your HF Secrets
|
| 169 |
-
print(f"{key} = {value}")
|
| 170 |
-
print("-----------------------------------------")
|
|
|
|
| 6 |
import os
|
| 7 |
from urllib.parse import unquote, urlsplit
|
| 8 |
|
| 9 |
+
print("--- DUMPING ALL ENVIRONMENT VARIABLES ---")
|
| 10 |
+
for key, value in os.environ.items():
|
| 11 |
+
print(f"{key} = {value}")
|
| 12 |
+
print("-----------------------------------------")
|
| 13 |
+
|
| 14 |
from telethon import TelegramClient, functions, types
|
| 15 |
from telethon.sessions import StringSession
|
| 16 |
|
|
|
|
| 166 |
try:
|
| 167 |
asyncio.run(main())
|
| 168 |
except KeyboardInterrupt:
|
| 169 |
+
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|