linkdetector

package
v3.34.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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) IsAsync

func (Actor) IsAsync() bool

IsAsync implements the actor interface

func (Actor) Name

func (Actor) Name() string

Name implements the actor interface

func (Actor) Validate

Validate implements the actor interface

Jump to

Keyboard shortcuts

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