feat: Implement gradual daily streak decay and rename currency from 'coins' to 'Astral Units'.

This commit is contained in:
syntaxbullet
2025-12-14 14:16:16 +01:00
parent ee2fda83e5
commit 4639fecf45
3 changed files with 6 additions and 9 deletions

View File

@@ -13,9 +13,9 @@ export const daily = createCommand({
const embed = new EmbedBuilder()
.setTitle("💰 Daily Reward Claimed!")
.setDescription(`You claimed **${result.amount}** coins!`)
.setDescription(`You claimed **${result.amount}** Astral Units!`)
.addFields(
{ name: "Current Streak", value: `🔥 ${result.streak} days`, inline: true },
{ name: "Activity Score", value: `🔥 ${result.streak}`, inline: true },
{ name: "Next Reward", value: `<t:${Math.floor(result.nextReadyAt.getTime() / 1000)}:R>`, inline: true }
)
.setColor("Gold")

View File

@@ -8,7 +8,7 @@ import { createErrorEmbed, createWarningEmbed } from "@lib/embeds";
export const pay = createCommand({
data: new SlashCommandBuilder()
.setName("pay")
.setDescription("Transfer coins to another user")
.setDescription("Transfer Astral Units to another user")
.addUserOption(option =>
option.setName("user")
.setDescription("The user to pay")
@@ -41,7 +41,7 @@ export const pay = createCommand({
const embed = new EmbedBuilder()
.setTitle("💸 Transfer Successful")
.setDescription(`Successfully sent **${amount}** coins to <@${targetUser.id}>.`)
.setDescription(`Successfully sent **${amount}** Astral Units to <@${targetUser.id}>.`)
.setColor("Green")
.setTimestamp();