Guichaguri / DiscordDJ

Discord DJ Bot. Play music in your server. Inspired by PlugDJ
http://guichaguri.github.io/DiscordDJ/
GNU Lesser General Public License v2.1
199 stars 50 forks source link

Crashes (a lot) #44

Closed robvankeilegom closed 8 years ago

robvankeilegom commented 8 years ago

I am currently testing your bot. I am experiencing the same crash listed below when trying to skip a song or when a song has the same amount of likes or dislikes as set in the config. Also you got a really nice 'Now Playing:' overview but i think it would be more convenient when its placed at the bottom of the chat again when a new song starts.

Thank you very much. I'm sorry if this is issue already exists.

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at exports._errnoException (util.js:870:11)
    at Pipe.onread (net.js:544:26)
ciruz commented 8 years ago

I'm developing my own bot with discord.js and ytdl-core and experience the same bug with my bot.

I just had a small talk on https://github.com/hydrabolt/discord.js/issues/202 about the exact same problem and this is a ytdl-core problem.

References: https://github.com/hydrabolt/discord.js/issues/202 https://github.com/fent/node-ytdl-core/issues/65 https://github.com/meew0/Lethe/blob/master/lethe.js#L564

@Guichaguri can you check this out?

Guichaguri commented 8 years ago

I will use the same fix for now. Thanks