This commit is contained in:
Dobromir Popov
2024-10-25 23:43:47 +03:00
parent 25384ec5a8
commit e56f007082
5 changed files with 32 additions and 26 deletions

View File

@ -4,6 +4,8 @@ import os
import logging
from dotenv import load_dotenv
from logging.handlers import RotatingFileHandler
import json
# Load environment variables
load_dotenv()
@ -33,6 +35,9 @@ TOKEN_ADDRESSES = {
"TARD": "4nfn86ssbv7wiqcsw7bpvn46k24jhe334fudtyxhp1og",
}
# Logging configuration
logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)