mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
forgor
This commit is contained in:
parent
5ce7ddecbe
commit
8c95e74139
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 = _err.toString() === 'Error: Input buffer contains unsupported image format' ? response.data.toString() : _err
|
||||
const e = _err.toString().includes('Bad MIDI file. Expected \'MHdr\', got: ') ? response.data.toString() : _err
|
||||
if (discord) {
|
||||
const Embed = new EmbedBuilder()
|
||||
.setColor(config.discord.embedsColors.error)
|
||||
|
|
Loading…
Reference in a new issue