Cog-Creators / Red-DiscordBot

A multi-function Discord bot
https://docs.discord.red
GNU General Public License v3.0
4.85k stars 2.31k forks source link

[p]version command won't embed if repo has a non-HTTPS remote address #626

Closed calebj closed 7 years ago

calebj commented 7 years ago

I narrowed down a problem I was getting on the [p]version command for both regular and selfbots, where it would say "I need the Embed links permission to send this." As it turns out, Discord doesn't allow non-HTTP protocols in the url field of embeds.

tekulvw commented 7 years ago

Caleb, I love you.

calebj commented 7 years ago

Funnily enough, markdown links with other protocols work just fine.

skeith commented 7 years ago

Does this mean, generally embed won't accept non HTTPS in the url fields?

calebj commented 7 years ago

Correct. A message will not send if it contains a non-http[s] link such as ftp:// in url.