mirror of https://github.com/calzoneman/sync.git
Fix #793
This commit is contained in:
parent
8c136c563a
commit
96bf3df928
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue