From 96bf3df9283888e664f2d33a272bb461e077ae1a Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Wed, 27 Mar 2019 21:26:06 -0700 Subject: [PATCH] Fix #793 --- src/channel/voteskip.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/channel/voteskip.js b/src/channel/voteskip.js index 296e49b3..40150d7a 100644 --- a/src/channel/voteskip.js +++ b/src/channel/voteskip.js @@ -86,6 +86,18 @@ VoteskipModule.prototype.update = function () { `- no permission (${noPermission}); ` + `ratio = ${this.channel.modules.options.get("voteskip_ratio")}`; this.channel.logger.log(`[playlist] Voteskip passed: ${info}`); + this.channel.broadcastAll( + 'chatMsg', + { + username: "[voteskip]", + msg: `Voteskip passed: ${info}`, + meta: { + addClass: "server-whisper", + addClassToNameAndTimestamp: true + }, + time: Date.now() + } + ); this.reset(); this.channel.modules.playlist._playNext(); } else {