mirror of
https://github.com/danbulant/Shasha
synced 2026-07-05 11:00:58 +00:00
removed mute.js console.log
This commit is contained in:
parent
822e7b13fb
commit
56211ad566
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ module.exports = class mute extends commando.Command {
|
||||||
const durationRegExp = /\d+(?![^ymwdhs])[ymwdhs]?o?/gi;
|
const durationRegExp = /\d+(?![^ymwdhs])[ymwdhs]?o?/gi;
|
||||||
const durationArg = args[1].match(durationRegExp);
|
const durationArg = args[1].match(durationRegExp);
|
||||||
for (const value of durationArg) {
|
for (const value of durationArg) {
|
||||||
console.log(value);
|
//console.log(value);
|
||||||
if (value.endsWith("h") || value.endsWith("ho")) {
|
if (value.endsWith("h") || value.endsWith("ho")) {
|
||||||
duration = muteDurationMultiplier(duration, value, 60 * 60 * 1000);
|
duration = muteDurationMultiplier(duration, value, 60 * 60 * 1000);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue