We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19648aa commit 7ec591fCopy full SHA for 7ec591f
basicBot.js
@@ -976,6 +976,7 @@
976
}
977
},
978
eventDjadvance: function(obj) {
979
+ if (!obj.dj) return;
980
if (basicBot.settings.autowoot) {
981
$('#woot').click(); // autowoot
982
@@ -1114,6 +1115,8 @@
1114
1115
var remaining = obj.media.duration * 1000;
1116
var startcid = API.getMedia().cid;
1117
basicBot.room.autoskipTimer = setTimeout(function() {
1118
+ if (!API.getMedia()) return;
1119
+
1120
var endcid = API.getMedia().cid;
1121
if (startcid === endcid) {
1122
//API.sendChat('Song stuck, skipping...');
0 commit comments