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 Guild#retrieveMemberVoiceState #2729

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Prev Previous commit
Update src/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.…
…java

Co-authored-by: Florian Spieß <business@minn.dev>
  • Loading branch information
PascalNB and MinnDevelopment authored Nov 1, 2024
commit a2b888c4e3f7fda18a96b9fc930396d203fe79f0
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,8 @@ public MemberImpl createMember(GuildImpl guild, DataObject memberJson, DataObjec
return member;
}

public GuildVoiceState createGuildVoiceState(MemberImpl member, DataObject voiceStateJson) {
public GuildVoiceState createGuildVoiceState(MemberImpl member, DataObject voiceStateJson)
{
GuildVoiceStateImpl voiceState = (GuildVoiceStateImpl) member.getVoiceState();
if (voiceState == null)
voiceState = new GuildVoiceStateImpl(member);
Expand Down