diff --git a/cli/commands/kickmessage.go b/cli/commands/kickmessage.go index 0720e82..c8deafc 100644 --- a/cli/commands/kickmessage.go +++ b/cli/commands/kickmessage.go @@ -54,8 +54,8 @@ func (j kickMessage) ExecuteCommand(api *tgbotapi.BotAPI, update *tgbotapi.Updat return err != nil, err } - newJoinMessage := strings.Join(args[2:], " ") - group.UserJoinMessage = newJoinMessage + newKickMessage := strings.Join(args[2:], " ") + group.UserKickMessage = newKickMessage group, err := j.groupHelperService.UpdateGroup(group) if err != nil {