Skip to content

How do I insert an image file into an embed? #20

Description

@P-Asta

mycode

client.send(|message| message
    .embed(|embed| embed
        .title("Webhook")
        .description("Hello, World!")
        .image("attachment://.sus.png")
    ))
.await.unwrap();

path

src
  main.rs
.sus.png
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions