client

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is template client.

func New

func New(prefix string) *Client

New to create new template client.

func (*Client) GetAddQueue

func (c *Client) GetAddQueue(data entity.Video) *discordgo.MessageEmbed

GetAddQueue to get add queue template.

func (*Client) GetHelp

func (c *Client) GetHelp() *discordgo.MessageEmbed

GetHelp to get help template.

func (*Client) GetJumped

func (c *Client) GetJumped(i int) string

GetJumped to get jumped template.

func (*Client) GetPlaying

func (c *Client) GetPlaying(data entity.Video) *discordgo.MessageEmbed

GetPlaying to get playing template.

func (*Client) GetQueue

func (c *Client) GetQueue(index int, data []entity.Video) string

GetQueue to get queue template.

func (*Client) GetRemoved

func (c *Client) GetRemoved(i []string) string

GetRemoved to get removed template.

func (*Client) GetSearch

func (c *Client) GetSearch(data []entity.Video) string

GetSearch to get search template.

Jump to

Keyboard shortcuts

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