This commit is contained in:
Calvin Montgomery 2019-03-27 21:26:06 -07:00
parent 8c136c563a
commit 96bf3df928
1 changed files with 12 additions and 0 deletions

View File

@ -86,6 +86,18 @@ VoteskipModule.prototype.update = function () {
`- no permission (${noPermission}); ` + `- no permission (${noPermission}); ` +
`ratio = ${this.channel.modules.options.get("voteskip_ratio")}`; `ratio = ${this.channel.modules.options.get("voteskip_ratio")}`;
this.channel.logger.log(`[playlist] Voteskip passed: ${info}`); 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.reset();
this.channel.modules.playlist._playNext(); this.channel.modules.playlist._playNext();
} else { } else {