Jan0660 / Taco

The Taco Revolt ~~bot~~ machine.
GNU General Public License v3.0
15 stars 5 forks source link

Discord not embedding links for messages with replies #4

Open Jan0660 opened 2 years ago

Jan0660 commented 2 years ago

image As seen here. Reproduction: image

// webhook variable is a DiscordWebhookClient

await webhook.SendMessageAsync("message without embed but link https://google.cz/");
await webhook.SendMessageAsync(
    "message with embed and link https://google.cz/", embeds: new[]
    {
        new EmbedBuilder
        {
            Title = "h",
            Color = Color.Red
        }.Build()
    });

This is most likely not an issue with the bridge itself or Discord.Net, but with Discord itself. A workaround for direct file links could be made to just put the links into additional embeds as their ImageUrl property.