entity

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorGreyLight = 12370112
	ColorBlue      = 3447003
)

Color.

View Source
const (
	HelpCmd     = "{{prefix}}help"
	HelpDesc    = "Naka is a bot for playing song from youtube."
	PlaySample  = "" /* 137-byte string literal not displayed */
	QueueSample = "" /* 140-byte string literal not displayed */
	PlayCmd     = "{{prefix}}play"
	PlayDesc    = "play queued songs"
	QueueCmd    = "{{prefix}}queue"
	QueueDesc   = "see queue list"
	JoinCmd     = "{{prefix}}join"
	JoinDesc    = "join voice channel"
	LeaveCmd    = "{{prefix}}leave"
	LeaveDesc   = "leave voice channel"
	PauseCmd    = "{{prefix}}pause"
	PauseDesc   = "pause song"
	ResumeCmd   = "{{prefix}}resume"
	ResumeDesc  = "resume song"
	NextCmd     = "{{prefix}}next"
	NextDesc    = "go to next song"
	PrevCmd     = "{{prefix}}prev"
	PrevDesc    = "go to previous song"
	StopCmd     = "{{prefix}}stop"
	StopDesc    = "stop song"
	SkipCmd     = "{{prefix}}skip 2"
	SkipDesc    = "skip to song number 2 in queue"
	RemoveCmd   = "{{prefix}}remove 1 2"
	RemoveDesc  = "remove song number 1 & 2 from queue"
	PurgeCmd    = "{{prefix}}purge"
	PurgeDesc   = "purge queue list"

	EmptyQueue         = "Queue is empty. Go add some songs."
	EndQueue           = "End of queue."
	NotInVC            = "You are not in voice channel."
	InvalidYoutubeURL  = "Invalid youtube url."
	InvalidSearchQuery = "Invalid search query."
	PromptExpired      = "Prompt has expired."
	InvalidPrompt      = "Invalid response."
	Paused             = "Paused."
	Resumed            = "Resumed."
	Stopped            = "Stopped."
	Next               = "Next."
	Previous           = "Previous."
	InvalidQueue       = "Invalid queue."
	Purged             = "Queue has been purged."
)

Message template.

Variables

This section is empty.

Functions

This section is empty.

Types

type Video

type Video struct {
	Title        string
	URL          string
	ChannelTitle string
	ChannelURL   string
	Image        string
	Duration     time.Duration
	View         int
	Like         int
	Dislike      int

	QueueI   int
	QueueCnt int
}

Video is video entity.

Jump to

Keyboard shortcuts

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