bot

package
v0.0.0-...-fe8fad0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotManager

type BotManager struct {
	Redis       *redis.Client
	SteamClient *steam.Client
	DotaClient  *dota2.Dota2
	Config      config.Config
	Logger      *zap.Logger
}

func New

func New(conf config.Config, rs *redis.Client, steam *steam.Client) *BotManager

func (*BotManager) GetLobbyData

func (b *BotManager) GetLobbyData(referenceID string) (interfaces.BotConfig, error)

func (*BotManager) StartupBot

func (b *BotManager) StartupBot(lobbyData interfaces.BotConfig)

Jump to

Keyboard shortcuts

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