Guild banners
Discord recently added support for guild banners which are small images displayed above channel list.
API changes:
- The guild object now contains a
banner
field which returns the image hash ornull
. CDN endpoint:https://cdn.discordapp.com/banners/<id>/<hash>
- The PATCH
/guilds/<id>
endpoint now accepts abanner
field which is processed similarly as eg. the guild icon (data url with base-64 encoded image), so the payload looks like this:
{"banner": "data:image/png;base64,<image data>"}
Edited by alula