mattermost-community / mattermost-plugin-agenda

Mattermost plugin to handle meeting agendas
Apache License 2.0
34 stars 21 forks source link

Refactor server/command.go model.CommandResponse{} instances #6

Closed jfrerich closed 4 years ago

jfrerich commented 4 years ago

The Autolink Plugin contains a function responsef() that simplifies building a and returning a model.CommandResponse{}. This is a request to copy this function and replace the model.CommandResponse{} calls throughout https://github.com/mattermost/mattermost-plugin-agenda/blob/master/server/command.go

https://github.com/mattermost/mattermost-plugin-autolink/blob/master/server/command.go#L281