elif "/решка" in msg.lower():
db = sqlite3.connect('server.db')
cursor = db.cursor()
stavka = msg.lower().split('/решка ')[-1]
flip = random.randint(1, 2)
for mm in cursor.execute(f"SELECT money FROM users WHERE {user_id}"):
if stavka>mm: