diff --git a/sample-config.env b/sample-config.env index 80b9b39..bc127b1 100644 --- a/sample-config.env +++ b/sample-config.env @@ -4,7 +4,7 @@ API_HASH="abcd1238fn...." DEV_MODE = "no" -LOG=-10012345678 +LOG_CHANNEL=-10012345678 MESSAGE=12345 diff --git a/socialbot.py b/socialbot.py index 5cb9471..ccda352 100644 --- a/socialbot.py +++ b/socialbot.py @@ -61,7 +61,7 @@ bot = Client( parse_mode=ParseMode.DEFAULT, ) -LOG_CHAT = os.environ.get("LOG") +LOG_CHAT = os.environ.get("LOG_CHANNEL") if LOG_CHAT is None: print("Enter log channel id in config")