how to send an embed in python discord code example

Example 1: embed python discord

embed.add_field(name="Field 1 Title", value="This is the value for field 1. This is NOT an inline field.", inline=False)

Example 2: python discord py make embed

def userinfo(self, ctx, *, user: discord.Member = None):
        """
        Get information about you, or a specified user.

        `user`: The user who you want information about. Can be an ID, mention or name.
        """

        if user is None:
            user = ctx.author

        embed = discord.Embed(
            colour=utils.user_colour(user),
            title=f"{user.name}'s Stats and Information."
        )
        embed.set_footer(text=f"ID: {user.id}")
        embed.set_thumbnail(url=user.avatar_url_as(format="png"))
        embed.add_field(name="__**General information:**__", value=f"**Discord Name:** {user}\n"
                                                                   f"**Account created:** {user.created_at.__format__('%A %d %B %Y at %H:%M')}\n"
                                                                   f"**Status:** {utils.user_status(user)}\n"
                                                                   f"**Activity:** {utils.user_activity(user)}", inline=False)
        embed.add_field(name="__**Server-related information:**__", value=f"**Nickname:** {user.nick}\n"
                                                                          f"**Joined server:** {user.joined_at.__format__('%A %d %B %Y at %H:%M')}\n"
                                                                          f"**Roles:** {' '.join([r.mention for r in user.roles[1:]])}")
        return await ctx.send(embed=embed)

Example 3: embed python discord

embed.add_field(name="Field 2 Title", value="It is inline with Field 3", inline=True)embed.add_field(name="Field 3 Title", value="It is inline with Field 2", inline=True)

Example 4: python discord bot embed

emb = discord.Embed(title='Команды Админов')
	emb.add_field(name = settings['prefix']+'clear [count]', value='Очистка чата.\n', inline=False)
	emb.add_field(name = settings['prefix']+'ban [name]', value='Бан пользователя.\n', inline=False)
	emb.add_field(name = settings['prefix']+'muted [name]', value='Замютить пользователя.\n', inline=False)
	emb.add_field(name = settings['prefix']+'setprefix [prefix]', value='Сменить префикс бота.\n', inline=False)
	emb.add_field(name = settings['prefix']+'restart', value='Перезапуск бота.\n', inline=False)