refactor: make TagPlugin interval do every 30 seconds instead of 20 seconds

This commit is contained in:
Chayapak 2024-11-28 18:42:10 +07:00
parent dc023758f2
commit 65bae4ce7d
Signed by: ChomeNS
SSH key fingerprint: SHA256:0YoxhdyXsgbc0nfeB2N6FYE60mxMU7DS4uCUMaw2mvA

View file

@ -13,7 +13,7 @@ public class TagPlugin extends CorePlugin.Listener {
public TagPlugin (Bot bot) {
this.bot = bot;
bot.executor.scheduleAtFixedRate(this::runCommand, 5, 20, TimeUnit.SECONDS);
bot.executor.scheduleAtFixedRate(this::runCommand, 5, 30, TimeUnit.SECONDS);
}
private void runCommand () {