Simplifying embed usage

Hi, I'm wondering if there is a way to not repeat the full embed builder every time I need an embed ? I already thought about a function in another class but I dont know how it should looks like
Was this page helpful?