mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-21 04:11:16 +00:00
12 lines
241 B
Go
12 lines
241 B
Go
package numeric
|
|
|
|
import (
|
|
"math"
|
|
|
|
"github.com/Luzifer/twitch-bot/v2/plugins"
|
|
)
|
|
|
|
func Register(args plugins.RegistrationArguments) error {
|
|
args.RegisterTemplateFunction("pow", plugins.GenericTemplateFunctionGetter(math.Pow))
|
|
return nil
|
|
}
|