1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-07-07 04:20:49 +00:00

Chore update 3.10.0

This commit is contained in:
MatteZ02
2020-07-18 22:33:09 +03:00
parent 1ce6c40a9b
commit ef195e4377
14 changed files with 50 additions and 45 deletions

View File

@ -3,7 +3,6 @@ module.exports = {
description: "Boost the bass in your music!",
alias: ["none"],
usage: "<bass>",
cooldown: 5,
onlyDev: false,
permission: "MANAGE_MESSAGES",
category: "audio modifiers",
@ -15,8 +14,8 @@ module.exports = {
);
const bass = parseFloat(args[1]);
if (client.funcs.check(client, msg, command)) {
if (queue.nigthCore)
return msg.channel.send(client.messages.disableNigthCore);
if (queue.nightCore)
return msg.channel.send(client.messages.disableNightCore);
if (isNaN(bass)) return msg.channel.send(client.messages.validNumber);
if (bass > 10) return msg.channel.send(client.messages.maxBass);
if (bass < 0) return msg.channel.send(client.messages.positiveBass);