3 lines
No EOL
228 B
Python
3 lines
No EOL
228 B
Python
async def get_user_persos(bot,user:int,guild_id:int):
|
|
async with bot.db.execute("SELECT * FROM personnages WHERE uuid=? AND (guild_id=? OR guild_id IS NULL)",(user,guild_id)) as cursor:
|
|
return await cursor.fetchall() |