mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
do the same for music
This commit is contained in:
parent
2ac823f9d5
commit
5ce7ddecbe
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ async function playUrl (bot, values, discord, channeldc, selector, config) {
|
|||
bot.tellraw(selector, [{ text: 'Added ', color: 'white' }, { text: song.name, color: 'gold' }, { text: ' to the song queue', color: 'white' }])
|
||||
}
|
||||
} catch (_err) {
|
||||
const e = response.data.toString()
|
||||
const e = _err.toString() === 'Error: Input buffer contains unsupported image format' ? response.data.toString() : _err
|
||||
if (discord) {
|
||||
const Embed = new EmbedBuilder()
|
||||
.setColor(config.discord.embedsColors.error)
|
||||
|
|
Loading…
Reference in a new issue