PrimaryGuild (Server Identity) not exposed in Gateway events for bots #8070
-
|
The Discord API spec and libraries such as Discord.Net define a PrimaryGuild model for users, including fields like guild_id, identity_enabled, and tag, which are used by the Discord client to display server identity tags. However, this field does not appear in Gateway payloads (USER_UPDATE, GUILD_MEMBER_UPDATE), meaning bots cannot detect when a user selects or removes a server’s tag. Is this omission intentional or is there an upcoming plan to expose primary_guild to bots? Clarification would help bot developers understand whether server-tag-based automation (e.g., role assignment) is expected to be supported in the future. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.

This is incorrect - primary_guild is already included in guild_member_update and the event does trigger when the field is changed. If you aren't seeing this, it is probably an issue in your code or library.