Skip to content
This repository was archived by the owner on Oct 23, 2021. It is now read-only.

Commit 7bd77a9

Browse files
Added discriminator to DiscordJoinRequest
1 parent 4cbd37e commit 7bd77a9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/club/minnced/discord/rpc/DiscordJoinRequest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,25 @@ public class DiscordJoinRequest extends Structure
3737
private static final List<String> FIELD_ORDER = Collections.unmodifiableList(Arrays.asList(
3838
"userId",
3939
"username",
40+
"discriminator",
4041
"avatar"
4142
));
4243

4344
/**
4445
* The userId for the user that requests to join
4546
*/
4647
public String userId;
48+
4749
/**
4850
* The username of the user that requests to join
4951
*/
5052
public String username;
53+
54+
/**
55+
* The discriminator of the user that requests to join
56+
*/
57+
public String discriminator;
58+
5159
/**
5260
* The avatar of the user that requests to join
5361
*/

0 commit comments

Comments
 (0)