fixed skip + rate

This commit is contained in:
Emily 2020-05-09 16:43:30 +10:00
parent 1837e6e751
commit b6b810b4de
2 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,11 @@ var rating = [
"9/10",
"10/10"
];
if (message.content.includes("@everyone")) {
return message.channel.send('>:(');
}
let mess = rating.random();
message.channel.send(`<:star:618393201501536258> I give ${args.join(" ")} a **${mess}**`);
};

View File

@ -240,6 +240,8 @@ exports.setVolume = function (guild, target) {
exports.skip = function (guild, reason) {
const g = exports.getGuild(guild.id)
g.skippers = []
if (g.dispatcher) {
g.dispatcher.end(reason)
}