hdkv
/
i2_bot
Archived
1
Fork 0

Weird typo fix

master
Vladimir Hodakov 2017-11-29 16:36:06 +04:00
parent 2421e2d6d2
commit 338268e32f
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func (w *Welcomer) GroupWelcomeMessage(update *tgbotapi.Update) string {
if (newUser.UserName == "i2_bot") || (newUser.UserName == "i2_dev_bot") {
w.groupStartMessage(update)
} else {
defaultGroupID, _ := strconv.ParseInt(c.Cfg.SpecialChats.HeadquartersID, 10, 64)
defaultGroupID, _ := strconv.ParseInt(c.Cfg.SpecialChats.DefaultID, 10, 64)
bastionGroupID, _ := strconv.ParseInt(c.Cfg.SpecialChats.BastionID, 10, 64)
if update.Message.Chat.ID == defaultGroupID {