variables

package
v3.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVariable

func GetVariable(db database.Connector, key string) (string, error)

func Register

func Register(args plugins.RegistrationArguments) error

func RemoveVariable

func RemoveVariable(db database.Connector, key string) error

func SetVariable

func SetVariable(db database.Connector, key, value string) error

Types

type ActorSetVariable

type ActorSetVariable struct{}

func (ActorSetVariable) Execute

func (a ActorSetVariable) Execute(_ *irc.Client, m *irc.Message, r *plugins.Rule, eventData *plugins.FieldCollection, attrs *plugins.FieldCollection) (preventCooldown bool, err error)

func (ActorSetVariable) IsAsync

func (a ActorSetVariable) IsAsync() bool

func (ActorSetVariable) Name

func (a ActorSetVariable) Name() string

func (ActorSetVariable) Validate

func (a ActorSetVariable) Validate(tplValidator plugins.TemplateValidatorFunc, attrs *plugins.FieldCollection) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL