diff --git a/internal/apimodules/msgformat/msgformat.go b/internal/apimodules/msgformat/msgformat.go index e8d010d..db59cbc 100644 --- a/internal/apimodules/msgformat/msgformat.go +++ b/internal/apimodules/msgformat/msgformat.go @@ -15,9 +15,11 @@ func Register(args plugins.RegistrationArguments) error { formatMessage = args.FormatMessage args.RegisterAPIRoute(plugins.HTTPRouteRegistrationArgs{ + Description: "Takes the given template and renders it using the same renderer as messages in the channel are", HandlerFunc: handleFormattedMessage, Method: http.MethodGet, Module: "msgformat", + Name: "Format Message", Path: "/format", QueryParams: []plugins.HTTPRouteParamDocumentation{ {