<gh_stars>1-10
import logging
import os
import sys

logger = logging.getLogger()
logger.setLevel(logging.ERROR)

LINE_USER_ID = os.getenv("LINE_USER_ID")

LINEBOT_SECRET = os.getenv("LINEBOT_SECRET")
LINEBOT_ACCESS_TOKEN = os.getenv("LINEBOT_ACCESS_TOKEN")
if LINEBOT_SECRET is None:
    logger.error("Specify LINEBOT_SECRET as environment variable.")
    sys.exit(1)
if LINEBOT_ACCESS_TOKEN is None:
    logger.error("Specify LINEBOT_ACCESS_TOKEN as environment variable.")
    sys.exit(1)

CELEBRATING_TARGET = os.getenv("CELEBRATING_TARGET")

import logging
import os
import sys

logger = logging.getLogger()
logger.setLevel(logging.ERROR)

LINE_USER_ID = os.getenv("LINE_USER_ID")

LINEBOT_SECRET = os.getenv("LINEBOT_SECRET")
LINEBOT_ACCESS_TOKEN = os.getenv("LINEBOT_ACCESS_TOKEN")
if LINEBOT_SECRET is None:
    logger.error("Specify LINEBOT_SECRET as environment variable.")
    sys.exit(1)
if LINEBOT_ACCESS_TOKEN is None:
    logger.error("Specify LINEBOT_ACCESS_TOKEN as environment variable.")
    sys.exit(1)

CELEBRATING_TARGET = os.getenv("CELEBRATING_TARGET")