Skip to content

Commit 66db614

Browse files
authored
add message intent (#20)
1 parent 98a86d6 commit 66db614

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, GatewayIntent.GUILD_MEMBERS).addEventListeners(this).build();
53+
.enableIntents(GatewayIntent.GUILD_MEMBERS, GatewayIntent.MESSAGE_CONTENT).addEventListeners(this).build();
5454
this.webhook = new WebhookClientBuilder(WEBHOOK_URL)
5555
.setThreadFactory(Thread::new)
5656
.setDaemon(true)

0 commit comments

Comments
 (0)