Skip to content

make Recipients public on dm channel#486

Merged
topi314 merged 1 commit intodisgoorg:masterfrom
Qreepex:master
Nov 9, 2025
Merged

make Recipients public on dm channel#486
topi314 merged 1 commit intodisgoorg:masterfrom
Qreepex:master

Conversation

@Qreepex
Copy link
Contributor

@Qreepex Qreepex commented Nov 9, 2025

This pull request updates the DMChannel struct and its related methods in discord/channel.go to make the Recipients field exported (publicly accessible), and ensures consistent usage of the new field name throughout the codebase.

Exporting struct fields for external access:

  • Changed the recipients field in the DMChannel struct to Recipients to make it exported and accessible outside the package.

Code consistency and refactoring:

  • Updated all references to the recipients field in the UnmarshalJSON, MarshalJSON, and Name methods to use the new Recipients field name. [1] [2] [3]

@topi314 topi314 merged commit ae81090 into disgoorg:master Nov 9, 2025
4 checks passed
@topi314
Copy link
Member

topi314 commented Nov 9, 2025

Ty Boss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants