🐛 Change the join and kick message setting

This commit is contained in:
Alphyron 2020-07-04 17:54:42 +02:00
parent ee8af748e8
commit 6eeb3f90ed

View File

@ -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 {