bot

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	OptoutCodes sync.Map
	// contains filtered or unexported fields
}

Bot basic logging bot

func NewBot

func NewBot(cfg *config.Config, helixClient helix.TwitchApiClient, fileLogger filelog.Logger) *Bot

NewBot create new bot instance

func (*Bot) Connect

func (b *Bot) Connect()

Connect startup the logger and bot

func (*Bot) Join

func (b *Bot) Join(channelNames ...string)

func (*Bot) Part

func (b *Bot) Part(channelNames ...string)

func (*Bot) Say

func (b *Bot) Say(channel, text string)

Jump to

Keyboard shortcuts

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