Archived
1

Weird typo fix

This commit is contained in:
Vladimir Hodakov 2017-11-29 16:36:06 +04:00
parent 2421e2d6d2
commit 338268e32f

View File

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