Skip to content

Commit ba64f0e

Browse files
authored
Add guild member banners (#6986)
* Add guild member banners * changelog
1 parent e39e358 commit ba64f0e

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "Guild Member Banners"
3+
date: "2024-07-16"
4+
breaking: false
5+
---
6+
7+
Apps can now access guild member profile banners via the API and Gateway! The [guild member object](#DOCS_RESOURCES_GUILD/guild-member-object) now includes a `banner` field which can be used to create the [guild member banner URL](#DOCS_REFERENCE/image-formatting).

docs/resources/Guild.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ A partial [guild](#DOCS_RESOURCES_GUILD/guild-object) object. Represents an Offl
353353
| user? | [user](#DOCS_RESOURCES_USER/user-object) object | the user this guild member represents |
354354
| nick? | ?string | this user's guild nickname |
355355
| avatar? | ?string | the member's [guild avatar hash](#DOCS_REFERENCE/image-formatting) |
356+
| banner? | ?string | the member's [guild banner hash](#DOCS_REFERENCE/image-formatting) |
356357
| roles | array of snowflakes | array of [role](#DOCS_TOPICS_PERMISSIONS/role-object) object ids |
357358
| joined_at | ISO8601 timestamp | when the user joined the guild |
358359
| premium_since? | ?ISO8601 timestamp | when the user started [boosting](https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-) the guild |
@@ -377,6 +378,7 @@ A partial [guild](#DOCS_RESOURCES_GUILD/guild-object) object. Represents an Offl
377378
"user": {},
378379
"nick": "NOT API SUPPORT",
379380
"avatar": null,
381+
"banner": null,
380382
"roles": [],
381383
"joined_at": "2015-04-26T06:26:56.936000+00:00",
382384
"deaf": false,

docs/topics/Gateway_Events.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,7 @@ Sent when a guild member is updated. This will also fire when the user object of
764764
| user | a [user](#DOCS_RESOURCES_USER/user-object) object | User |
765765
| nick? | ?string | Nickname of the user in the guild |
766766
| avatar | ?string | Member's [guild avatar hash](#DOCS_REFERENCE/image-formatting) |
767+
| banner | ?string | Member's [guild banner hash](#DOCS_REFERENCE/image-formatting) |
767768
| joined_at | ?ISO8601 timestamp | When the user joined the guild |
768769
| premium_since? | ?ISO8601 timestamp | When the user starting [boosting](https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-) the guild |
769770
| deaf? | boolean | Whether the user is deafened in voice channels |

0 commit comments

Comments
 (0)