remove nhentai feature
This commit is contained in:
parent
29a33fd407
commit
92607f5275
2 changed files with 0 additions and 58 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue