Skip to content

Commit

Permalink
Update cooldown format
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMonDon committed Jul 28, 2024
1 parent 476b730 commit 7aa76df
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion commands/Economy/rob.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Rob extends Command {
} else {
const tLeft = moment
.duration(timeleft)
.format('y[ years][,] M[ Months], d[ days][,] h[ hours][,] m[ minutes][, and] s[ seconds]'); // format to any format
.format('y[ years][,] M[ Months][,] d[ days][,] h[ hours][,] m[ minutes][, and] s[ seconds]'); // format to any format

embed.setDescription(`You cannot rob for ${tLeft}`);
return msg.channel.send({ embeds: [embed] });
Expand Down
2 changes: 1 addition & 1 deletion commands/Economy/slut.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Slut extends Command {
} else {
const tLeft = moment
.duration(timeleft)
.format('y[ years][,] M[ Months], d[ days][,] h[ hours][,] m[ minutes][, and] s[ seconds]'); // format to any format
.format('y[ years][,] M[ Months][,] d[ days][,] h[ hours][,] m[ minutes][, and] s[ seconds]'); // format to any format
embed.setDescription(`Please wait ${tLeft} to be a slut again.`);
return msg.channel.send({ embeds: [embed] });
}
Expand Down
2 changes: 1 addition & 1 deletion commands/Economy/work.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Work extends Command {
} else {
const tLeft = moment
.duration(timeleft)
.format('y[ years][,] M[ Months], d[ days][,] h[ hours][,] m[ minutes][, and] s[ seconds]');
.format('y[ years][,] M[ Months][,] d[ days][,] h[ hours][,] m[ minutes][, and] s[ seconds]');
embed.setDescription(`You cannot work for ${tLeft}`);
return msg.channel.send({ embeds: [embed] });
}
Expand Down
2 changes: 1 addition & 1 deletion commands/Tickets/topic.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Topic extends Command {
} else {
const tLeft = moment
.duration(timeleft)
.format('y[ years][,] M[ Months], d[ days][,] h[ hours][,] m[ minutes][, and] s[ seconds]'); // format to any format
.format('y[ years][,] M[ Months][,] d[ days][,] h[ hours][,] m[ minutes][, and] s[ seconds]'); // format to any format
const embed = new EmbedBuilder()
.setColor(msg.settings.embedErrorColor)
.setAuthor({ name: msg.author.tag, iconURL: msg.author.displayAvatarURL() })
Expand Down
2 changes: 1 addition & 1 deletion slash_commands/Economy/slut.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ exports.run = async (interaction) => {
} else {
const tLeft = moment
.duration(timeleft)
.format('y[ years][,] M[ Months], d[ days][,] h[ hours][,] m[ minutes][, and] s[ seconds]'); // format to any format
.format('y[ years][,] M[ Months][,] d[ days][,] h[ hours][,] m[ minutes][, and] s[ seconds]'); // format to any format
embed.setDescription(`Please wait ${tLeft} to be a slut again.`);
return interaction.editReply({ embeds: [embed] });
}
Expand Down
2 changes: 1 addition & 1 deletion slash_commands/Economy/work.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ exports.run = async (interaction) => {
} else {
const tLeft = moment
.duration(timeleft)
.format('y[ years][,] M[ Months], d[ days][,] h[ hours][,] m[ minutes][, and] s[ seconds]');
.format('y[ years][,] M[ Months][,] d[ days][,] h[ hours][,] m[ minutes][, and] s[ seconds]');
embed.setDescription(`You cannot work for ${tLeft}`);
return interaction.editReply({ embeds: [embed] });
}
Expand Down

0 comments on commit 7aa76df

Please sign in to comment.