tbot

package
v0.0.0-...-5c79d48 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 44 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 {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.BotConfig, log logrus.FieldLogger) *Bot

func (*Bot) BotIdentity

func (b *Bot) BotIdentity() *identity.Identity

BotIdentity returns the bot's own identity. This will return nil if the bot has not been started.

func (*Bot) Run

func (b *Bot) Run(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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