Simplified !chrono message.

This commit is contained in:
Christian P. MOMON 2021-04-16 19:29:06 +02:00
parent f5da3a6ae4
commit 66bb09ef87

View File

@ -42,8 +42,8 @@ public class ChronoHook extends Hook
if (StringUtils.equalsAnyIgnoreCase(message, "!chrono")) if (StringUtils.equalsAnyIgnoreCase(message, "!chrono"))
{ {
logger.info("!chrono caught."); logger.info("!chrono caught.");
bot.sendChronoMessage(); // bot.sendChronoMessage();
// bot.sendMessage(bot.getChrono().format()); bot.sendMessage(bot.getChrono().format());
result = true; result = true;
} }