tracker

package
v0.0.0-...-f537024 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIMatch

type APIMatch struct {
	MatchID int64 `json:"match_id"`
}

type DiscordOAuthResp

type DiscordOAuthResp struct {
	AccessToken  string `json:"access_token"`
	TokenType    string `json:"token_type"`
	ExpiresIn    int    `json:"expires_in"`
	RefreshToken string `json:"refresh_token"`
	Scope        string `json:"scope"`
}

type DiscordUserConnection

type DiscordUserConnection struct {
	ID           string `json:"id"`
	Name         string `json:"name"`
	Type         string `json:"type"`
	Revoked      bool   `json:"revoked"`
	Verified     bool   `json:"verified"`
	FriendSync   bool   `json:"friend_sync"`
	ShowActivity bool   `json:"show_activity"`
	Visibility   int    `json:"visibility"`
}

type Module

type Module struct {
	Ctx        global.Context
	DotaClient *dota2.DotaClient
	Games      *steam.Client
	Main       *steam.Client
	// contains filtered or unexported fields
}

func New

func New() *Module

func (*Module) CommandGroup

func (m *Module) CommandGroup() command.Cmd

func (*Module) ForceNickname

func (m *Module) ForceNickname() command.Cmd

func (*Module) Name

func (m *Module) Name() string

func (*Module) QueryCmd

func (m *Module) QueryCmd() command.Cmd

func (*Module) Register

func (m *Module) Register(gCtx global.Context) (<-chan struct{}, error)

func (*Module) WaitDotaReady

func (m *Module) WaitDotaReady(ctx context.Context) error

Jump to

Keyboard shortcuts

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