async def balance(self, user):
async with self.pool.acquire() as conn:
async with conn.cursor() as cur:
result = await cur.execute("SELECT balance FROM profile WHERE uid=%s", user.id)
row = await cur.fetchall()
if result == 1:
return row[0]