bot

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArgs

func GetArgs(payload string) (args []string)

GetArgs returns a list of arguments from a payload, separated by space Quotes can be used to pass arguments with a space inside, such as `"hello world"`

Types

type RSSBot

type RSSBot struct {
	// contains filtered or unexported fields
}

RSSBot is the class that manages the RSS bot

func (*RSSBot) Init

func (b *RSSBot) Init() (err error)

Init the object

func (*RSSBot) Start

func (b *RSSBot) Start() error

Start the background workers

func (*RSSBot) Stop

func (b *RSSBot) Stop()

Stop the bot and the background processes

Jump to

Keyboard shortcuts

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