hdkv
/
i2_bot
Archived
1
Fork 0

Dirty hack for academy

master
Vladimir Hodakov 2017-11-29 19:28:40 +04:00
parent c65dad7727
commit 099898d991
1 changed files with 5 additions and 0 deletions

View File

@ -471,6 +471,11 @@ func (s *Squader) ProcessMessage(update *tgbotapi.Update, chatRaw *dbmapping.Cha
}
}
// Dirty hack
if update.Message.Chat.ID == -1001396321727 || update.Message.Chat.ID == -1001310954317 {
isChatValid = true
}
if !isChatValid {
switch newUsers[i].UserName {
case "gantz_yaka":