Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
madboy482 authored Aug 29, 2021
1 parent a8bc2fc commit 14d364e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ class Config:
ADMIN = os.environ.get("ADMINS", '')
ADMINS = [int(admin) if re.search('^\d+$', admin) else admin for admin in (ADMIN).split()]
API_ID = int(os.environ.get("API_ID", ''))
CHATS = os.environ.get("CHAT", '')
CHAT = [int(chats) if re.search('^\d+$', chats) else chats for chats in (CHATS).split()]
CHAT = int(os.environ.get("CHAT", ""))
LOG_GROUP=os.environ.get("LOG_GROUP", "")
if LOG_GROUP:
LOG_GROUP=int(LOG_GROUP)
Expand Down

0 comments on commit 14d364e

Please sign in to comment.