avatarkava / beavisbot

A node.js powered bot for plug.dj and dubtrack.fm
https://github.com/avatarkava/beavisbot/wiki
MIT License
22 stars 20 forks source link

lastPlay.dj not populated on 'advance' when user has left the room #61

Closed avatarkava closed 10 years ago

avatarkava commented 10 years ago

This is reported upstream w/ plugAPI: https://github.com/plugCubed/plugAPI/issues/28

In the meantime we need to see if lastPlay.dj is null and either punt or use getHistory()'s first song or something?

avatarkava commented 10 years ago

I'm simply checking right now and not inserting into plays when dj is null, just songs if applicable.

avatarkava commented 10 years ago

Internal exception handling is in place here - they've made my upstream report a bug, so closing this out as it's fixed well enough from this side.