Add shutdown event to logs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2022-08-26 03:48:55 +02:00
parent 3416c13f10
commit d15132e6d6

View File

@ -94,6 +94,7 @@ public class MessageListener extends ListenerAdapter
MessageChannel channel = event.getChannel();
channel.sendMessage("Going to sleep! Cya :sparkles:").queue();
logger.log("WARNING! Shutting down!");
Executors.newSingleThreadScheduledExecutor().schedule(() ->
{