diff options
| author | Austin Hellyer <[email protected]> | 2016-11-14 12:54:29 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-14 12:54:29 -0800 |
| commit | b91f792907f281b127eec26272b5edcd82e9db01 (patch) | |
| tree | ec0997c92277561fb3956ceb6ddffea813a9869f /src/utils | |
| parent | Move the builders to the utils (diff) | |
| download | serenity-b91f792907f281b127eec26272b5edcd82e9db01.tar.xz serenity-b91f792907f281b127eec26272b5edcd82e9db01.zip | |
EmbedAuthor 'url' is optional
This makes the `url` field of embed authors optional, as it is not
required by the API.
Example JSON snippet object which this fixes:
```json
"author": {
"proxy_icon_url": "https://images-ext-2.discordapp.net/eyJ1cmwiOiJodHRwczovL3R3ZW1vamkubWF4Y2RuLmNvbS8zNngzNi8xZjRkMS5wbmcifQ.ALs1I_Kui5vGLvxNrWqPmAkD-xc",
"name": "FlexBot Server List - Page 1",
"icon_url": "https://twemoji.maxcdn.com/36x36/1f4d1.png"
}
```
Diffstat (limited to 'src/utils')
0 files changed, 0 insertions, 0 deletions