Skip to content

how to update an embed #940

Answered by lukellmann
N0m4n904 asked this question in Help
Discussion options

You must be logged in to vote

Sorry for the late reply 😅.

You'd do it like this:

message.edit {
    embed {
        description = "..."
        // ...

        // or call your extension function here
        buildUpdateEmbed(...)
    }
}

Note that including embed { } blocks in message.edit { } will overwrite all existing embeds, so make sure to (re-)include all embeds you want to keep and add.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by DRSchlaubi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants