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 *fieldcollection.FieldCollection, attrs *fieldcollection.FieldCollection) (preventCooldown bool, err error)
Execute implements the actor interface
func (Actor) Validate ¶
func (Actor) Validate(_ plugins.TemplateValidatorFunc, attrs *fieldcollection.FieldCollection) (err error)
Validate implements the actor interface
Click to show internal directories.
Click to hide internal directories.