From 66bb09ef8781a0e628af06e0415ef8127558ba73 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 16 Apr 2021 19:29:06 +0200 Subject: [PATCH] Simplified !chrono message. --- src/org/april/hebdobot/bot/hooks/ChronoHook.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/april/hebdobot/bot/hooks/ChronoHook.java b/src/org/april/hebdobot/bot/hooks/ChronoHook.java index fab2a7c..0437683 100644 --- a/src/org/april/hebdobot/bot/hooks/ChronoHook.java +++ b/src/org/april/hebdobot/bot/hooks/ChronoHook.java @@ -42,8 +42,8 @@ public class ChronoHook extends Hook if (StringUtils.equalsAnyIgnoreCase(message, "!chrono")) { logger.info("!chrono caught."); - bot.sendChronoMessage(); - // bot.sendMessage(bot.getChrono().format()); + // bot.sendChronoMessage(); + bot.sendMessage(bot.getChrono().format()); result = true; }