Skip to content

Commit

Permalink
Use plain string for nex loot
Browse files Browse the repository at this point in the history
  • Loading branch information
gc committed Oct 14, 2023
1 parent ee8f2ab commit 4319464
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/tasks/minions/nexActivity.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { EmbedBuilder, userMention } from '@discordjs/builders';
import { userMention } from '@discordjs/builders';
import { formatOrdinal } from '@oldschoolgg/toolkit';

import { NEX_ID } from '../../lib/constants';
Expand Down Expand Up @@ -46,19 +46,15 @@ export const nexTask: MinionTask = {
});
await updateBankSetting('nex_loot', loot.totalLoot());

const embed = new EmbedBuilder().setThumbnail(
'https://cdn.discordapp.com/attachments/342983479501389826/951730848426786846/Nex.webp'
).setDescription(`
${loot.formatLoot()}`);

handleTripFinish(
allMUsers[0],
channelID,
{
content: `${allMention} Your team finished killing ${quantity}x Nex.${
wipedKill ? ` Your team wiped on the ${formatOrdinal(wipedKill)} kill.` : ''
}`,
embeds: [embed]
}
${loot.formatLoot()}`
},
undefined,
data,
Expand Down

0 comments on commit 4319464

Please sign in to comment.