change wait for income message

This commit is contained in:
SowinskiBraeden committed 2023-05-14 20:22:38 -07:00
1 parent 1035315a43
commit 8b555a2cad
2 files changed
+6 -4

No files matched your search

+5 -3
View File
@@ -106,10 +106,12 @@ module.exports = {
return interaction.send({ embeds: [success] }) return interaction.send({ embeds: [success] })
} else { } else {
let s = hoursBetweenDates * 60;
let timeTillIncome = client.secondsToDhms(s);
const error = new EmbedBuilder() const error = new EmbedBuilder()
.setColor(client.config.Colors.Default) .setColor(client.config.Colors.Red)
.setTitle('Take a rest...') .setDescription(`You've already collected your income this week. Wait **${timeTillIncome}** to collect again.`);
.setDescription(`You've already worked a full day today. Take a rest and work tomorrow.`)
return interaction.send({ embeds: [error] }) return interaction.send({ embeds: [error] })
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dayz-armbands", "name": "dayz-armbands",
"version": "6.7.8", "version": "6.7.9",
"description": "A General Purpose Discord Bot for DayZ Servers.", "description": "A General Purpose Discord Bot for DayZ Servers.",
"main": "index.js", "main": "index.js",
"nodemonConfig": { "nodemonConfig": {