fix env parsing
Marco Andronaco andronacomarco@gmail.com
Sat, 24 Jun 2023 15:34:21 +0200
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
main.py
→
main.py
@@ -32,8 +32,8 @@ load_dotenv()
try: TOKEN = str(getenv("token")) - GROUP_ID = int(getenv("group_id")) - CHANNEL_ID = int(getenv("channel_id")) + GROUP_ID = str(getenv("group_id")) + CHANNEL_ID = str(getenv("channel_id")) ADMIN_ID = int(getenv("admin_id")) except TypeError: config_error()