🐛 Change the join and kick message setting
This commit is contained in:
parent
ee8af748e8
commit
6eeb3f90ed
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user