team

package
v0.0.0-...-846776f Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Team

type Team struct {
	ID       int            `db:"id"`
	GuildID  string         `db:"server_id"`
	Name     string         `db:"team_name"`
	Channels pq.StringArray `db:"channels"`
}

Team holds the config for a team in a guild.

func (*Team) Guild

func (t *Team) Guild() bool

Guild returns whether this team represents an entire Discord guild or not

Jump to

Keyboard shortcuts

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