Open nick-konovalchuk opened 2 weeks ago
Update SQLite class It is to be called DBManager.
DBManager
load_dotenv
check_user_id
is_banned
is_admin
Update SQLite class
It is to be called
DBManager
.load_dotenv
in main must be the single load_dotenv in the whole program.check_user_id
,is_banned
,is_admin
are to be merged to simplify the code and reduce number of db requests. Update the places where these methods are called accordingly