bot

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	Connection *irc.Connection
	// contains filtered or unexported fields
}

func NewBot

func NewBot(server, password, nickname, realname string, useTLS, useSasl bool, saslUser, saslPass string,
	logger irc.Logger, floodProfile string, initialChannel string) *Bot

func (*Bot) GetChannels

func (b *Bot) GetChannels() []string

func (*Bot) Start

func (b *Bot) Start(signals chan os.Signal) error

Jump to

Keyboard shortcuts

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