Skip to content

Commit

Permalink
feat(builder): builder now automatically applies default cache types …
Browse files Browse the repository at this point in the history
…& intents
  • Loading branch information
seailz committed Sep 12, 2023
1 parent dd6eb21 commit 53d2729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/seailz/discordjar/DiscordJarBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public class DiscordJarBuilder {

public DiscordJarBuilder(String token) {
this.token = token;
defaultCacheTypes();
defaultIntents();
}

public DiscordJarBuilder setGatewayCompressionType(GatewayTransportCompressionType gwCompressionType) {
Expand Down

0 comments on commit 53d2729

Please sign in to comment.