Build a grinding loop: /grind beg, /grind search (pick one of three places with buttons) and /grind crime (risky, it can lose coins) pay MEE6 coins on 45-second cooldowns, each with funny flavour lines picked at random from lists in the code
Three fun ways to earn MEE6 coins on 45-second cooldowns:
/grind beg — Ask for spare change (20-49 coins, safe)/grind search — Pick a place to search with buttons (30-69 coins, safe)/grind crime — High risk, high reward! 60% chance to earn 50-129 coins, 40% chance to lose themEach command has randomized flavour text for variety. Uses the server's shared MEE6 economy.
Made by MEE6. Remix it to get a copy of your own and change anything you like.
You find 36 coins someone left on a bench!
🔍 Where do you want to search?
🚔 Busted! You lost 104 coins in bail!
⏰ Wait 45s before begging again.
A kind stranger drops you 23 coins!
// Coin Grinder — three fun commands to earn MEE6 coins on cooldowns
const BEG_LINES = [
'A kind stranger drops you **{amount} coins**!',
'Someone takes pity on you and gives **{amount} coins**.',
'You hold out your hand and receive **{amount} coins**.',
'A merchant tosses you **{amount} coins** and walks away.',
'You find **{amount} coins** someone left on a bench!',
];
const SEARCH_PLACES = [
{
label: '🗑️ Trash can',
customId: 'trash',
results: [
'You dig through the trash and find **{amount} coins**!',
'Gross, but worth it — **{amount} coins** retrieved!',
'You find a wallet with **{amount} coins** in the trash!',
],
},
{
label: '🌳 Tree',
customId: 'tree',
results: [
'You shake the tree and **{amount} coins** fall out!',
"A bird's nest has **{amount} coins** hidden in it!",
'You climb up and find **{amount} coins** in a hollow!',
],
},
{
label: '🪑 Couch',
customId: 'couch',
results: [
'You reach between the cushions and pull out **{amount} coins**!',
'Lost change! You find **{amount} coins** under the couch!',
"Someone's lost fortune: **{amount} coins** found!",
],
},
];
const CRIME_SUCCESS = [
'🎯 You successfully robbed the bank and got **{amount} coins**!',
'🎭 Your heist was flawless! You earned **{amount} coins**!',
'🦹 You got away clean with **{amount} coins**!',
'💰 The vault was wide open — **{amount} coins** stolen!',
];
const CRIME_FAIL = [
'🚨 You got caught! Lost **{amount} coins** in fines!',
'👮 The cops nabbed you! Paid **{amount} coins** to get out!',
'⚠️ You tripped the alarm! Fined **{amount} coins**!',
'🚔 Busted! You lost **{amount} coins** in bail!',
];
function pick<T>(arr: T[]): T {
return arr[Math.floor(Math.random() * arr.length)];
}
function format(template: string, amount: number): string {
return template.replace('{amount}', amount.toString());
}
// /grind beg — simple, safe, small reward
mee6.command(
'grind beg',
{
description: 'Beg for coins (45s cooldown)',
ephemeral: true,
},
async (ctx) => {
const m = mee6.store.member(ctx.author.id);
const lastBeg = await m.get<number>('cd_beg', 0);
const now = Math.floor(Date.now() / 1000);
if (now - lastBeg < 45) {
await ctx.reply(`⏰ Wait **${45 - (now - lastBeg)}s** before begging again.`);
return;
}
// 20-49 coins, raised by the server's Economy boosts like /work
const { amount } = await mee6.economy.add(ctx.author.id, Math.floor(Math.random() * 30) + 20, {
boost: 'income',
});
await m.set('cd_beg', now);
await ctx.reply(format(pick(BEG_LINES), amount));
}
);
// /grind search — pick a place with buttons, then get the reward
mee6.command(
'grind search',
{
description: 'Search for coins (45s cooldown)',
},
async (ctx) => {
const m = mee6.store.member(ctx.author.id);
const lastSearch = await m.get<number>('cd_search', 0);
const now = Math.floor(Date.now() / 1000);
if (now - lastSearch < 45) {
await ctx.reply(`⏰ Wait **${45 - (now - lastSearch)}s** before searching again.`);
return;
}
await ctx.reply({
content: '🔍 **Where do you want to search?**',
buttons: SEARCH_PLACES.map((p) => ({ label: p.label, customId: p.customId, style: 'primary' })),
});
}
);
mee6.on('button', async (ctx) => {
const place = SEARCH_PLACES.find((p) => p.customId === ctx.customId);
if (!place) return;
const m = mee6.store.member(ctx.author.id);
const lastSearch = await m.get<number>('cd_search', 0);
const now = Math.floor(Date.now() / 1000);
if (now - lastSearch < 45) {
await ctx.reply({ content: `⏰ Wait **${45 - (now - lastSearch)}s** before searching again.`, ephemeral: true });
return;
}
// 30-69 coins, raised by the server's Economy boosts like /work
const { amount } = await mee6.economy.add(ctx.author.id, Math.floor(Math.random() * 40) + 30, {
boost: 'income',
});
await m.set('cd_search', now);
await ctx.reply({ content: format(pick(place.results), amount), ephemeral: true });
});
// /grind crime — high risk, high reward (or loss)
mee6.command(
'grind crime',
{
description: 'Commit a crime for coins — risky! (45s cooldown)',
ephemeral: true,
},
async (ctx) => {
const m = mee6.store.member(ctx.author.id);
const lastCrime = await m.get<number>('cd_crime', 0);
const now = Math.floor(Date.now() / 1000);
if (now - lastCrime < 45) {
await ctx.reply(`⏰ Wait **${45 - (now - lastCrime)}s** before committing another crime.`);
return;
}
const success = Math.random() > 0.4; // 60% success rate
const amount = Math.floor(Math.random() * 80) + 50; // 50-129 coins
if (success) {
// The loot follows the server's Economy boosts like /work; a fine does not
const loot = await mee6.economy.add(ctx.author.id, amount, { boost: 'income' });
await ctx.reply(format(pick(CRIME_SUCCESS), loot.amount));
} else {
const balance = await mee6.economy.balance(ctx.author.id);
const loss = Math.min(amount, balance.coins); // don't go negative
await mee6.economy.remove(ctx.author.id, loss);
await ctx.reply(format(pick(CRIME_FAIL), loss));
}
await m.set('cd_crime', now);
}
);