entity

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorGreyLight = 12370112
	ColorBlue      = 3447003
	ColorGreen     = 5763719
	ColorRed       = 15548997
)

Colors.

View Source
const (
	InvalidYoutubeURL  = "Invalid youtube url."
	InvalidSearchQuery = "Invalid search query."
	InvalidSongNumber  = "Invalid song number."

	ErrAddQueue    = "Error adding to queue."
	ErrGetQueue    = "Error getting queue."
	ErrPlayingSong = "Error playing song."
	ErrPurgeQueue  = "Error purging queue."
	ErrRemoveSong  = "Error removing song."

	NotInVC = "You are not in any voice channel."
)

Message templates.

Variables

This section is empty.

Functions

This section is empty.

Types

type Video

type Video struct {
	ID           string
	ChannelTitle string
	ChannelURL   string
	VideoTitle   string
	VideoURL     string
	Image        string
	Duration     time.Duration
	View         int
	Like         int
	AddedBy      string
	Order        int
	QueueSize    int
}

Video is video entity.

Jump to

Keyboard shortcuts

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