mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 20:01:17 +00:00
[msgformat] Fix: Add missing API docs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
2ae4857a6a
commit
56082ad577
1 changed files with 2 additions and 0 deletions
|
@ -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{
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue