Discord Bot Python Having it create embdeds

Hi I was wondering how I would have my discord bot in python allow users to create a embed in text chat and post it. Like carl bot does. Thanks!


Here you have an example made with discord.ext.commands

async def make_embed(ctx):
    def check(message):
        return message.author == ctx.author and message.channel == ctx.channel

    await ctx.send('Waiting for a title')
    title = await client.wait_for('message', check=check)
    await ctx.send('Waiting for a description')
    desc = await client.wait_for('message', check=check)

    embed = discord.Embed(title=title.content, description=desc.content, color=0x72d345)
    await ctx.send(embed=embd)