Skip to content

Commit

Permalink
adjust apex notmymain response to include character class selected (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
bthomas2622 authored Nov 19, 2023
1 parent c489de1 commit 10664f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/apex-not-my-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async function execute(interaction) {
}

const chosenLegendVoiceLines = legends[chosenLegend].lines;
const response = `**${chosenLegend.replace(/_/u, " ")}** - ${chosenLegendVoiceLines[Math.floor(Math.random() * chosenLegendVoiceLines.length)]}`;
const response = `**${chosenLegend.replace(/_/u, " ")}** - ${chosenLegendVoiceLines[Math.floor(Math.random() * chosenLegendVoiceLines.length)]}\n**Class Rolled**: ${chosenCLass.charAt(0).toUpperCase() + chosenCLass.slice(1)}\n`;
const attachment = new AttachmentBuilder().setName(`${chosenLegend}.png`).setFile(`./pics/apex/${chosenLegend}.png`);

await interaction.reply({
Expand Down

0 comments on commit 10664f5

Please sign in to comment.