From 99019db54ffacc012704c74bb9856a52a64a4a04 Mon Sep 17 00:00:00 2001 From: Watn3y Date: Wed, 15 Mar 2023 16:40:26 +0100 Subject: [PATCH] fix shutup --- text/matcher.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/text/matcher.go b/text/matcher.go index fecfe04..bc2aee4 100644 --- a/text/matcher.go +++ b/text/matcher.go @@ -13,7 +13,8 @@ import ( ) func Matcher(update tgbotapi.Update, bot *tgbotapi.BotAPI) { - if time.Since(config.BotConfig.Shutup[update.Message.Chat.ID]) <= time.Minute { + + if time.Since(config.BotConfig.Shutup[update.Message.Chat.ID]) <= time.Minute*60 { return }