Skip to content

Commit

Permalink
Implement channel welcome messages - review fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
vespian committed Feb 29, 2020
1 parent 26c1d97 commit 3e33d03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,10 @@ func (p *Plugin) ExecuteCommand(c *plugin.Context, args *model.CommandArgs) (*mo
return &model.CommandResponse{}, nil
}

p.postCommandResponse(args, "welcome messages has been stored")
p.postCommandResponse(
args,
fmt.Sprintf("stored the welcome message:\n%s", message),
)
return &model.CommandResponse{}, nil

case "get_channel_welcome":
Expand Down

0 comments on commit 3e33d03

Please sign in to comment.