@@ -41,7 +41,6 @@ public final class Config {
41
41
private final String openaiApiKey ;
42
42
private final String sourceCodeBaseUrl ;
43
43
private final JShellConfig jshell ;
44
- private final HelperPruneConfig helperPruneConfig ;
45
44
private final FeatureBlacklistConfig featureBlacklistConfig ;
46
45
private final String selectRolesChannelPattern ;
47
46
private final String memberCountCategoryPattern ;
@@ -89,8 +88,6 @@ private Config(@JsonProperty(value = "token", required = true) String token,
89
88
@ JsonProperty (value = "jshell" , required = true ) JShellConfig jshell ,
90
89
@ JsonProperty (value = "memberCountCategoryPattern" ,
91
90
required = true ) String memberCountCategoryPattern ,
92
- @ JsonProperty (value = "helperPruneConfig" ,
93
- required = true ) HelperPruneConfig helperPruneConfig ,
94
91
@ JsonProperty (value = "featureBlacklist" ,
95
92
required = true ) FeatureBlacklistConfig featureBlacklistConfig ,
96
93
@ JsonProperty (value = "selectRolesChannelPattern" ,
@@ -124,7 +121,6 @@ private Config(@JsonProperty(value = "token", required = true) String token,
124
121
this .openaiApiKey = Objects .requireNonNull (openaiApiKey );
125
122
this .sourceCodeBaseUrl = Objects .requireNonNull (sourceCodeBaseUrl );
126
123
this .jshell = Objects .requireNonNull (jshell );
127
- this .helperPruneConfig = Objects .requireNonNull (helperPruneConfig );
128
124
this .featureBlacklistConfig = Objects .requireNonNull (featureBlacklistConfig );
129
125
this .selectRolesChannelPattern = Objects .requireNonNull (selectRolesChannelPattern );
130
126
}
@@ -382,15 +378,6 @@ public JShellConfig getJshell() {
382
378
return jshell ;
383
379
}
384
380
385
- /**
386
- * Gets the config for automatic pruning of helper roles.
387
- *
388
- * @return the configuration
389
- */
390
- public HelperPruneConfig getHelperPruneConfig () {
391
- return helperPruneConfig ;
392
- }
393
-
394
381
/**
395
382
* The configuration of blacklisted features.
396
383
*
0 commit comments