discord-php / DiscordPHP

An API to interact with the popular messaging app Discord
MIT License
985 stars 236 forks source link

Update Embed.php #1036

Closed b3r3nd closed 1 year ago

b3r3nd commented 1 year ago

Change empty strings to null values in both setAuthor and setFooter to fix URL_TYPE_INVALID_SCHEME error. More info in this issue -> https://github.com/discord-php/DiscordPHP/issues/1035#issuecomment-1377489523