From 6eeb3f90ed4d7a570a03148b70c0c91fba3ee76b Mon Sep 17 00:00:00 2001 From: Alphyron Date: Sat, 4 Jul 2020 17:54:42 +0200 Subject: [PATCH] :bug: Change the join and kick message setting --- cli/commands/kickmessage.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {