Ufoptg commited on
Commit
070fe77
1 Parent(s): 1f8a954

Update code2.py

Browse files
Files changed (1) hide show
  1. code2.py +3 -3
code2.py CHANGED
@@ -7,9 +7,9 @@ from datetime import datetime, timedelta
7
  from telethon import TelegramClient, events
8
  from telethon.tl.types import ChatAdminRights, ChatBannedRights
9
 
10
- API_ID = ["API_ID"]
11
- API_HASH = ["API_HASH"]
12
- BOT_TOKEN = os.environ["BOT_TOKEN"]
13
 
14
  logging.basicConfig(
15
  level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
 
7
  from telethon import TelegramClient, events
8
  from telethon.tl.types import ChatAdminRights, ChatBannedRights
9
 
10
+ API_ID = os.getenv("API_ID")
11
+ API_HASH = os.getenv("API_HASH")
12
+ BOT_TOKEN = os.getenv("BOT_TOKEN")
13
 
14
  logging.basicConfig(
15
  level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s"