remove nhentai feature

This commit is contained in:
watn3y 2023-09-06 18:47:12 +02:00
parent 29a33fd407
commit 92607f5275
2 changed files with 0 additions and 58 deletions

View file

@ -14,17 +14,6 @@ func Matcher(update tgbotapi.Update, bot *tgbotapi.BotAPI) {
if time.Since(config.BotConfig.Shutup[update.Message.Chat.ID]) <= time.Minute*60 {
return
}
/*
//nhentai
const nhentaiRegex string = "([ \\t\\n\\r]|^)\\d{4,}([ \\t\\n\\r]|$)"
isNhentai, err := regexp.MatchString(nhentaiRegex, update.Message.Text)
if err != nil {
log.Panicf("Failed to compile regex for nhentai", err)
}
if isNhentai && (commonlogic.ContainsInt64(config.BotConfig.Nhentai.EnabledChats, update.Message.Chat.ID) || update.Message.From.ID == update.Message.Chat.ID) {
go nhentai.Nhentai(nhentaiRegex, update, bot)
}
*/
//balonlyl
var isBalonlyl bool = false
for _, word := range config.BotConfig.Balonlyl.TriggerWords {