From bd204a3cd75c5c9ccfe4acc33ec7d29a948cead2 Mon Sep 17 00:00:00 2001 From: Eyre_S Date: Sun, 25 Aug 2024 19:44:49 +0800 Subject: [PATCH] disable inline query debug mode --- .../cc/sukazyo/cono/morny/bot/event/MornyOnInlineQuery.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/cc/sukazyo/cono/morny/bot/event/MornyOnInlineQuery.scala b/src/main/scala/cc/sukazyo/cono/morny/bot/event/MornyOnInlineQuery.scala index 4d92f83..2433e29 100644 --- a/src/main/scala/cc/sukazyo/cono/morny/bot/event/MornyOnInlineQuery.scala +++ b/src/main/scala/cc/sukazyo/cono/morny/bot/event/MornyOnInlineQuery.scala @@ -28,8 +28,8 @@ class MornyOnInlineQuery (using queryManager: MornyQueries) (using coeur: MornyC if (r isPersonal) isPersonal = true resultAnswers += r.result } - cacheTime = 1 - logger debug "Inline Query remote caches is DISABLED, you may received duplicate queries logs." +// cacheTime = 1 +// logger debug "Inline Query remote caches is DISABLED, you may received duplicate queries logs." if (results isEmpty) return;