fix shutup
This commit is contained in:
parent
ef0ace07b5
commit
99019db54f
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue