Skip to content

Commit

Permalink
Refactor character update fields in census/reassign.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandward committed Apr 13, 2024
1 parent 86c9c27 commit 9e54205
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions commands/census/reassign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ export const execute = async (interaction: CommandInteraction) => {
);

if (updateToonResult) {
const previous = [name, previousLevel.toString(), previousStatus, previousCharacterClass];
const updated = [name, level.toString(), status, characterClass];
const previous = [previousStatus, previousCharacterClass, previousLevel.toString()];
const updated = [status, characterClass, level.toString()];

const embed = new EmbedBuilder()
.setTitle(':fast_forward: Character Update')
.setTitle(`:fast_forward: Character Update for ${name}`)
.setColor('Green')
.addFields(
{
Expand Down

0 comments on commit 9e54205

Please sign in to comment.