mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 00:30:02 +00:00
9 lines
227 B
Go
9 lines
227 B
Go
package api
|
|
|
|
import "github.com/Luzifer/twitch-bot/v3/plugins"
|
|
|
|
func Register(args plugins.RegistrationArguments) error {
|
|
args.RegisterTemplateFunction("jsonAPI", plugins.GenericTemplateFunctionGetter(jsonAPI))
|
|
|
|
return nil
|
|
}
|