Skip to content

Commit 98a86d6

Browse files
Merge pull request #19 from CSSUoB/FrozenDude101-message-content
Add GatewayIntent.GUILD_MEMBERS intent
2 parents f5c7493 + 107ffeb commit 98a86d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/cssbham/minecraftcore/discord/DiscordBridge.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public DiscordBridge(MinecraftCore core) throws LoginException, ClassCastExcepti
5050
BOT_TOKEN
5151
).setMemberCachePolicy(MemberCachePolicy.ALL)
5252
.setChunkingFilter(ChunkingFilter.ALL)
53-
.enableIntents(GatewayIntent.GUILD_MEMBERS).addEventListeners(this).build();
53+
.enableIntents(GatewayIntent.GUILD_MEMBERS, GatewayIntent.GUILD_MEMBERS).addEventListeners(this).build();
5454
this.webhook = new WebhookClientBuilder(WEBHOOK_URL)
5555
.setThreadFactory(Thread::new)
5656
.setDaemon(true)

0 commit comments

Comments
 (0)