_partially initialized module 'sqlite3' has no attribute 'connect' (most likely due to a circular import)
import sqlite3 as sq
with sq.connect('users.db') as con:
cur = con.cursor()
cur.execute("""CREATE TABLE IF NOT EXISTS users(
chat_id INTEGER,
user_id INTEGER,
first_name TEXT,
second_name TEXT,
nick TEXT,
money INTEGER DEFAULT 0
)""")