8000 make Recipients public on dm channel by Qreepex · Pull Request #486 · disgoorg/disgo · GitHub
[go: up one dir, main page]

Skip to content

make Recipients public on dm channel - #486

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

topi314 merged 1 commit into
disgoorg:masterfrom
Qreepex:master

Conversation

@Qreepex
@Qreepex Qreepex commented Nov 9, 2025
Copy link
Copy Markdown
Contributor

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
topi314 commented Nov 9, 2025
Copy link
Copy Markdown
Member

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.

3854

2 participants

0