Weird typo fix
This commit is contained in:
parent
2421e2d6d2
commit
338268e32f
@ -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 {
|
||||||
|
Reference in New Issue
Block a user