@client.command()
async def top_rep(ctx):
embed = discord.Embed(title = 'Топ сервера')
numb = 0
for row in cursor.execute("SELECT name, rep From users WHERE server_id = {} ORDER BY rep DESC LIMIT 5".format(ctx.guild.id)):
numb += 1
embed.add_field(name = f'# {numb} | {row[0]} ',value = f'Репутация: {row[1]}', inline = False)
await ctx.reply(embed=embed)