make adding playlist and adding song messages different
This commit is contained in:
parent
50e3c4ed21
commit
a517f773c9
|
@ -14,11 +14,11 @@ import { ensureVoiceConnection, formatCallbackData, isPlaylist, waitingForRespon
|
|||
async function addedPlaylistResponse(interaction: Interaction, url: string) {
|
||||
const playlist = await YouTube.getPlaylist(url);
|
||||
return formatCallbackData(`${interaction.user.username} added ${playlist.videoCount} videos from [**${playlist.title}**](${interaction!.data!.options![0].value}) to the queue.`,
|
||||
"Added to queue");
|
||||
"Added playlist");
|
||||
}
|
||||
|
||||
function addedSongResponse(interaction: Interaction, title: string) {
|
||||
return formatCallbackData(`${interaction.user.username} added [**${title}**](${interaction!.data!.options![0].value}) to the queue.`, "Added to queue");
|
||||
return formatCallbackData(`${interaction.user.username} added [**${title}**](${interaction!.data!.options![0].value}) to the queue.`, "Added song");
|
||||
}
|
||||
|
||||
function alreadyPlayingResponse(bot: Bot, interaction: Interaction) {
|
||||
|
|
Loading…
Reference in New Issue