package net.dirtydeeds.discordsoundboard.async;

import net.dirtydeeds.discordsoundboard.service.SoundboardBot;
import net.dirtydeeds.discordsoundboard.utils.*;

public class PeriodicLambdas {

  public static PeriodicLambdaJob askForDonation() {
    return new PeriodicLambdaJob(Reusables::sendDonationMessage, Periodic.EVERY_TWO_DAYS);
  }

  public static PeriodicLambdaJob cleanOldBotMessages() {
    return new PeriodicLambdaJob(SoundboardBot::clearPreviousMessages, Periodic.EVERY_SIX_HOURS);
  }

  public static PeriodicLambdaJob changeToRandomGame() {
    return new PeriodicLambdaJob(Reusables::setRandomGame, Periodic.EVERY_TWO_MINUTES);
  }

  public static PeriodicLambdaJob changeBotChannelTopic() {
    return new PeriodicLambdaJob(Reusables::setRandomTopicForPublicChannels, Periodic.EVERY_HOUR);
  }

}
@@ -799,20 +799,25 @@
 c.EVERY_
+SIX_
 HOUR
+S
 );%0A  %7D%0A%0A

Increase time between channel topic updates