Skip to content

Store Discord role ids on users#33

Merged
Aerhhh merged 1 commit into
masterfrom
role-ids
Jul 19, 2026
Merged

Store Discord role ids on users#33
Aerhhh merged 1 commit into
masterfrom
role-ids

Conversation

@Aerhhh

@Aerhhh Aerhhh commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Adds a roleIds list to DiscordUser so services can read a member's current Discord roles straight from Mongo instead of calling the Discord API. Old documents deserialize with a null list; the repository cache-load backfills it to empty, matching how lastActivity and birthdayData are handled. Round-trip covered by tests.

@Aerhhh
Aerhhh merged commit d4f6fbe into master Jul 19, 2026
3 checks passed
@Aerhhh
Aerhhh deleted the role-ids branch July 19, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant