@client.command(name = 'warns')
async def __warns(ctx, *, member : discord.Member = None):
warnss = str(cursor.execute("SELECT warns FROM users WHERE id = {}".format(member.id)).fetchone()[0])
reasons = str(cursor.execute("SELECT w_reason FROM users WHERE id = {}".format(member.id)).fetchone()[0])