Skip to content

Commit

Permalink
Update more combo wording
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaUrsa committed Jan 22, 2024
1 parent 6fe77ee commit 06f5ef4
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/discord/commands/global/d.combo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,21 @@ export const dCombo: SlashCommand = {
sourceString = `\n\nSources: ${sourceArray.join(', ')}`;
}

const linkString = stripIndents`\n\nCheck the following resources for more information:
**${drugA}**
* [TripSit Wiki - ${drugA}](https://wiki.tripsit.me/wiki/${drugA})
* [TripSit Factsheets - ${drugA}](https://drugs.tripsit.me/${drugA})
* [PsychonautWiki - ${drugA}](https://psychonautwiki.org/wiki/${drugA})
**${drugB}**
* [TripSit Wiki - ${drugB}](https://wiki.tripsit.me/wiki/${drugB})
* [TripSit Factsheets - ${drugB}](https://drugs.tripsit.me/${drugB})
* [PsychonautWiki - ${drugB}](https://psychonautwiki.org/wiki/${drugB})`;

const embed = embedTemplate()
.setTitle(`Mixing ${drugA} and ${drugB}: ${resultsData.emoji} ${resultsData.result} ${resultsData.emoji}`)
.setDescription(`${resultsData.definition}${noteString}${sourceString}`);
.setDescription(`${resultsData.definition}${noteString}${sourceString}${linkString}`);
if (resultsData.thumbnail) embed.setThumbnail(resultsData.thumbnail);
if (resultsData.color) embed.setColor(Colors[resultsData.color as keyof typeof Colors]);
await interaction.editReply({ embeds: [embed] });
Expand Down

0 comments on commit 06f5ef4

Please sign in to comment.