Skip to content

Commit

Permalink
add message intent (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thatsmusic99 committed Dec 11, 2023
1 parent 98a86d6 commit 66db614
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public DiscordBridge(MinecraftCore core) throws LoginException, ClassCastExcepti
BOT_TOKEN
).setMemberCachePolicy(MemberCachePolicy.ALL)
.setChunkingFilter(ChunkingFilter.ALL)
.enableIntents(GatewayIntent.GUILD_MEMBERS, GatewayIntent.GUILD_MEMBERS).addEventListeners(this).build();
.enableIntents(GatewayIntent.GUILD_MEMBERS, GatewayIntent.MESSAGE_CONTENT).addEventListeners(this).build();
this.webhook = new WebhookClientBuilder(WEBHOOK_URL)
.setThreadFactory(Thread::new)
.setDaemon(true)
Expand Down

0 comments on commit 66db614

Please sign in to comment.