make adding playlist and adding song messages different

This commit is contained in:
A 2023-03-22 23:38:31 -05:00
parent 50e3c4ed21
commit a517f773c9
1 changed files with 2 additions and 2 deletions

View File

@ -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) {