Documentation ¶
Index ¶
Constants ¶
View Source
const ( ColorBrand = 0xfbea9a ColorPlayerPlaying = 0x00d010 ColorPlayerLoading = 0x00800b ColorPlayerStopped = 0xd01c00 ColorPlay = 0x00d0d0 ColorQueue = 0x0080ff ColorAction = 0xffb000 ColorError = 0xd00050 )
View Source
const ( NPComponentPreviousID = "np_component:previous" NPComponentNextID = "np_component:next" NPComponentTogglePlayID = "np_component:toggle_play" QueueComponentPreviousID = "queue_component:previous" QueueComponentNextID = "queue_component:next" CommonComponentToggleQueueID = "common_component:toggle_queue" CommonComponentToggleLoopID = "common_component:toggle_loop" CommonComponentToggleShuffleID = "common_component:toggle_shuffle" )
Variables ¶
View Source
var ( InteractionResponseDifferentVC = &discordgo.InteractionResponse{ Type: discordgo.InteractionResponseChannelMessageWithSource, Data: &discordgo.InteractionResponseData{ Embeds: []*discordgo.MessageEmbed{ { Description: "We have to be in the same voice channel!", Color: ColorError, }, }, }, } InteractionResponseInvalidPosition = &discordgo.InteractionResponse{ Type: discordgo.InteractionResponseChannelMessageWithSource, Data: &discordgo.InteractionResponseData{ Embeds: []*discordgo.MessageEmbed{ { Description: "Invalid position!", Color: ColorError, }, }, }, } InteractionResponseNotPlaying = &discordgo.InteractionResponse{ Type: discordgo.InteractionResponseChannelMessageWithSource, Data: &discordgo.InteractionResponseData{ Embeds: []*discordgo.MessageEmbed{ { Description: "I'm not playing anything right now!", Color: ColorError, }, }, }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.