Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
docs: music-bot example crashing when url is not a link (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
causztic committed Oct 27, 2021
1 parent 0ff4d17 commit b9d1038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/music-bot/src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ client.on('interactionCreate', async (interaction: Interaction) => {
await interaction.followUp(`Enqueued **${track.title}**`);
} catch (error) {
console.warn(error);
await interaction.reply('Failed to play track, please try again later!');
await interaction.followUp('Failed to play track, please try again later!');
}
} else if (interaction.commandName === 'skip') {
if (subscription) {
Expand Down

0 comments on commit b9d1038

Please sign in to comment.