Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Part::getDiscord() #1159

Merged
merged 1 commit into from
Jul 19, 2023
Merged

Add Part::getDiscord() #1159

merged 1 commit into from
Jul 19, 2023

Conversation

SQKo
Copy link
Member

@SQKo SQKo commented Jul 19, 2023

Since v10 has separated its concern from referencing Http & Factory client to just one Discord in constructor, we can add this getter method to be used by public.

To be noted It is not good idea to use mutator as this is not part of attributes, and the Discord property must not be changed.

It has been tested and can be merged once approved.

@SQKo SQKo added this to In progress in DiscordPHP via automation Jul 19, 2023
@SQKo SQKo added this to the 10.0 milestone Jul 19, 2023
DiscordPHP automation moved this from In progress to Reviewer approved Jul 19, 2023
@key2peace key2peace merged commit fa259eb into master Jul 19, 2023
2 checks passed
DiscordPHP automation moved this from Reviewer approved to Done Jul 19, 2023
@SQKo SQKo deleted the part-get-discord branch July 22, 2023 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants