File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/watcher/java/com/mcmoddev/mmdbot/watcher Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 5151import com .mcmoddev .mmdbot .watcher .event .PersistedRolesEvents ;
5252import com .mcmoddev .mmdbot .watcher .punishments .PunishableActions ;
5353import com .mcmoddev .mmdbot .watcher .punishments .Punishment ;
54- import com .mcmoddev .mmdbot .watcher .rules .RuleAgreementChecker ;
5554import com .mcmoddev .mmdbot .watcher .rules .RuleCommand ;
5655import com .mcmoddev .mmdbot .watcher .rules .UpdateRulesCommand ;
5756import com .mcmoddev .mmdbot .watcher .util .BotConfig ;
@@ -199,8 +198,8 @@ public TheWatcher(final Path runPath, final Dotenv dotenv) {
199198 public void start () {
200199 instance = this ;
201200 oldConfig = new BotConfig (runPath .resolve ("old_config.toml" ));
202- Events .MISC_BUS .addListener ((final TaskScheduler .CollectTasksEvent event ) -> event .addTask (new RuleAgreementChecker (this ::getJda ),
203- 0 , 1 , TimeUnit .DAYS ));
201+ // Events.MISC_BUS.addListener((final TaskScheduler.CollectTasksEvent event) -> event.addTask(new RuleAgreementChecker(this::getJda),
202+ // 0, 1, TimeUnit.DAYS));
204203
205204 try {
206205 final var configPath = runPath .resolve ("config.conf" );
You can’t perform that action at this time.
0 commit comments