/prestige reset resets the coins a member earned through this creation for a permanent 10% multiplier on /prestige work, up to five prestiges, and /prestige profile shows the prestige badge and the current multiplier
A prestige economy system where members work to earn coins, then reset their balance for permanent multipliers.
Commands:
/prestige work — Earn coins (1-hour cooldown). Base earnings: 100 coins, increased by +10% per prestige level./prestige reset — Reset your coins for a permanent +10% work multiplier (up to 5 prestiges)/prestige profile — View your coins, prestige level, badge, and progress to next prestigePrestige Costs:
Each prestige awards a unique badge (⭐ 🌟 💫 ✨ 🏆) shown in your profile and work messages.
Made by MEE6. Remix it to get a copy of your own and change anything you like.
💼 You worked and earned 100 coins!
100
0/5
100 coins
100 coins (100% progress)
You have prestiged to level 1! ⭐
+10%
110 coins per work
0
1/5 ⭐
+10%
110 coins
500 coins (0% progress)
You need 100 coins to prestige (you have 0). Still need: 100 coins
💼 You worked and earned 100 coins!
⏰ You need to wait 60m 0s before working again.
// Prestige Economy: reset coins for a permanent multiplier
// Up to 5 prestiges, each giving +10% to /prestige work earnings
const BASE_WORK_AMOUNT = 100;
const PRESTIGE_COST = [100, 500, 2000, 5000, 15000]; // Coins needed for each prestige
const MAX_PRESTIGES = 5;
/** Get member's prestige data */
async function getPrestigeData(userId: string) {
const m = mee6.store.member(userId);
const prestiges = await m.get<number>('prestiges', 0);
const coins = await m.get<number>('coins', 0);
return { prestiges, coins };
}
/** Calculate work earnings based on prestige level */
function calculateWorkEarnings(prestiges: number): number {
const multiplier = 1 + prestiges * 0.1; // +10% per prestige
return Math.floor(BASE_WORK_AMOUNT * multiplier);
}
/** Get prestige badge emoji */
function getPrestigeBadge(prestiges: number): string {
if (prestiges === 0) return '';
const badges = ['⭐', '🌟', '💫', '✨', '🏆'];
return badges[prestiges - 1] || '🏆';
}
mee6.command('prestige work', { description: 'Work to earn coins', ephemeral: false }, async (ctx) => {
const m = mee6.store.member(ctx.author.id);
// Check cooldown
const lastWork = await m.get<number>('cd_work', 0);
const now = Math.floor(Date.now() / 1000);
const cooldown = 3600; // 1 hour
if (now - lastWork < cooldown) {
const remaining = cooldown - (now - lastWork);
const minutes = Math.floor(remaining / 60);
const seconds = remaining % 60;
await ctx.reply(`⏰ You need to wait ${minutes}m ${seconds}s before working again.`);
return;
}
// Calculate earnings based on prestige
const data = await getPrestigeData(ctx.author.id);
const earnings = calculateWorkEarnings(data.prestiges);
await m.incr('coins', earnings);
await m.set('cd_work', now);
const badge = getPrestigeBadge(data.prestiges);
const multiplierText = data.prestiges > 0 ? ` (${data.prestiges * 10}% bonus)` : '';
await ctx.reply(`💼 You worked and earned **${earnings} coins**${multiplierText}! ${badge}`);
});
mee6.command('prestige reset', { description: 'Reset your coins for a permanent 10% work multiplier' }, async (ctx) => {
const data = await getPrestigeData(ctx.author.id);
// Check if already at max prestiges
if (data.prestiges >= MAX_PRESTIGES) {
await ctx.reply('🏆 You are already at maximum prestige level!');
return;
}
// Check if member has enough coins
const cost = PRESTIGE_COST[data.prestiges];
if (data.coins < cost) {
const needed = cost - data.coins;
await ctx.reply(
`You need **${cost} coins** to prestige (you have ${data.coins}).\n` + `Still need: **${needed} coins**`
);
return;
}
// Perform prestige
const m = mee6.store.member(ctx.author.id);
const newPrestige = data.prestiges + 1;
await m.set('prestiges', newPrestige);
await m.set('coins', 0); // Reset coins
const badge = getPrestigeBadge(newPrestige);
const newMultiplier = newPrestige * 10;
await ctx.reply({
embed: {
title: '🌟 Prestige Achieved!',
description: `You have prestiged to level **${newPrestige}**! ${badge}`,
color: '#FFD700',
fields: [
{ name: 'New Work Multiplier', value: `+${newMultiplier}%`, inline: true },
{ name: 'New Earnings', value: `${calculateWorkEarnings(newPrestige)} coins per work`, inline: true },
],
footer: { text: `Prestige ${newPrestige}/${MAX_PRESTIGES}` },
},
});
});
mee6.command('prestige profile', { description: 'View your economy profile', ephemeral: true }, async (ctx) => {
const data = await getPrestigeData(ctx.author.id);
const badge = getPrestigeBadge(data.prestiges);
const multiplier = data.prestiges * 10;
const workEarnings = calculateWorkEarnings(data.prestiges);
const fields = [
{ name: '💰 Coins', value: `${data.coins}`, inline: true },
{ name: '🌟 Prestige Level', value: `${data.prestiges}/${MAX_PRESTIGES} ${badge}`, inline: true },
];
if (data.prestiges > 0) {
fields.push({ name: '📈 Work Multiplier', value: `+${multiplier}%`, inline: true });
}
fields.push({ name: '💼 Work Earnings', value: `${workEarnings} coins`, inline: true });
// Show next prestige cost if not at max
if (data.prestiges < MAX_PRESTIGES) {
const nextCost = PRESTIGE_COST[data.prestiges];
const progress = Math.min(100, Math.floor((data.coins / nextCost) * 100));
fields.push({
name: '⬆️ Next Prestige',
value: `${nextCost} coins (${progress}% progress)`,
inline: false,
});
}
await ctx.reply({
embed: {
title: `${ctx.author.displayName}'s Profile`,
color: data.prestiges > 0 ? '#FFD700' : '#5865F2',
fields,
thumbnail_url: ctx.author.avatarUrl,
},
});
});