Okay, I've tried a bit more and got success.
Both user_data and config files lies in %project_name% folder, where main bot.py file is.
I changed user_data path to simple "DATA_FILE: "user_data.json"
, and edited the code to:
CONFIG_FILE = "config.json" # <- changed here
def load_config():
if not CONFIG_FILE: # <- and here
return {}
with open(CONFIG_FILE, 'r', encoding='utf-8') as file:
return json.load(file)