internal

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 15 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 NewBot

func NewBot(discordToken string, backendURL string, serviceUUID string, backendToken string, debugUser string) *Bot

func (*Bot) ActiveForUser

func (b *Bot) ActiveForUser(userID string) bool

func (*Bot) Close

func (b *Bot) Close() error

func (*Bot) RefreshMember added in v1.0.7

func (b *Bot) RefreshMember(user *api.User, member *discordgo.Member) error

func (*Bot) RefreshUser added in v1.0.7

func (b *Bot) RefreshUser(user *api.User) error

func (*Bot) Start

func (b *Bot) Start()

Directories

Path Synopsis
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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