Skip to content

EmbedBuilder v0.1.5

Choose a tag to compare

@Ypuf Ypuf released this 12 Sep 04:05
· 19 commits to main since this release

Update v0.1.5

pip install py-embedbuilder

New features:

Forums

await EmbedBuilder(forum_channel) \
    .create_forum_thread(
        name="Bug report 2077!",
        ?content="Pls help johnny silverhand is in my head." # Optional, defaults to embed content.
    ) \
    .set_title("Please patch!!") \
    .set_description("So this would actually appear as embedded text") \
    .send()

Threads

await EmbedBuilder(ctx) \
    .set_title("Any embed title") \
    .set_description("Any embed description") \
    .create_thread("New thread!", ?auto_archive_duration=10080, ?reason="I felt like creating one lol xd") \ # Duration is in minutes.
    .send()

There's no beating simplicity and EmbedBuilder is as simple and straightforward as it gets.

I'm open to changes, suggestions, additions, whatever it may be.