mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-15 03:22:43 +00:00
10 lines
317 B
Go
10 lines
317 B
Go
package api
|
|
|
|
import "github.com/Luzifer/twitch-bot/v3/plugins"
|
|
|
|
func Register(args plugins.RegistrationArguments) error {
|
|
args.RegisterTemplateFunction("jsonAPI", plugins.GenericTemplateFunctionGetter(jsonAPI))
|
|
args.RegisterTemplateFunction("textAPI", plugins.GenericTemplateFunctionGetter(textAPI))
|
|
|
|
return nil
|
|
}
|