Skip to content

Commit

Permalink
Merge pull request #19 from CSSUoB/FrozenDude101-message-content
Browse files Browse the repository at this point in the history
Add GatewayIntent.GUILD_MEMBERS intent
  • Loading branch information
FrozenDude101 authored Dec 11, 2023
2 parents f5c7493 + 107ffeb commit 98a86d6
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).addEventListeners(this).build();
.enableIntents(GatewayIntent.GUILD_MEMBERS, GatewayIntent.GUILD_MEMBERS).addEventListeners(this).build();
this.webhook = new WebhookClientBuilder(WEBHOOK_URL)
.setThreadFactory(Thread::new)
.setDaemon(true)
Expand Down

0 comments on commit 98a86d6

Please sign in to comment.