clipdetector

package
v3.26.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package clipdetector contains an actor to detect clip links in a message and populate a template 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(c *irc.Client, m *irc.Message, r *plugins.Rule, eventData *plugins.FieldCollection, attrs *plugins.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