mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 00:30:02 +00:00
18 lines
389 B
Go
18 lines
389 B
Go
// Package twitch defines Twitch related template functions not having
|
|
// their place in any other package
|
|
package twitch
|
|
|
|
import (
|
|
"github.com/Luzifer/twitch-bot/v3/plugins"
|
|
)
|
|
|
|
var regFn []func(plugins.RegistrationArguments)
|
|
|
|
// Register provides the plugins.RegisterFunc
|
|
func Register(args plugins.RegistrationArguments) error {
|
|
for _, fn := range regFn {
|
|
fn(args)
|
|
}
|
|
|
|
return nil
|
|
}
|