Documentation ¶
Overview ¶
Package linkdetector contains an actor to detect links in a message and add them to a variable
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(args plugins.RegistrationArguments) error
Register provides the plugins.RegisterFunc
Types ¶
type Actor ¶
type Actor struct{}
Actor implements the actor interface
func (Actor) Execute ¶
func (Actor) Execute(_ *irc.Client, m *irc.Message, _ *plugins.Rule, eventData *plugins.FieldCollection, attrs *plugins.FieldCollection) (preventCooldown bool, err error)
Execute implements the actor interface
func (Actor) Validate ¶
func (Actor) Validate(plugins.TemplateValidatorFunc, *plugins.FieldCollection) error
Validate implements the actor interface
Click to show internal directories.
Click to hide internal directories.