Skip to content

Commit

Permalink
uppercase name of class
Browse files Browse the repository at this point in the history
  • Loading branch information
galnir committed Jan 8, 2022
1 parent ac61d09 commit 9825e10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions commands/other/game-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
return interaction.reply(error);
}

const paginatedEmbed = new PaginatedMessage();
const PaginatedEmbed = new PaginatedMessage();

const firstPageTuple = []; // releaseDate, esrbRating, userRating

Expand All @@ -49,7 +49,7 @@ module.exports = {
firstPageTuple.push(data.rating + '/5');
}

paginatedEmbed.addPageEmbed(embed =>
PaginatedEmbed.addPageEmbed(embed =>
embed
.setDescription(
'**Game Description**\n' + data.description_raw.slice(0, 2000) + '...'
Expand Down Expand Up @@ -106,7 +106,7 @@ module.exports = {
retailerArray.push('None Listed');
}

paginatedEmbed.addPageEmbed(embed =>
PaginatedEmbed.addPageEmbed(embed =>
embed // Row 1
.addField(
'Developer(s)',
Expand Down Expand Up @@ -140,7 +140,7 @@ module.exports = {
};

await interaction.reply('Game info:');
paginatedEmbed.run(message);
PaginatedEmbed.run(message);
}
};

Expand Down

0 comments on commit 9825e10

Please sign in to comment.