From b735c59872d4c38665ac5e553726cf8482fd1f6e Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 11 Feb 2021 14:26:50 -0500 Subject: [PATCH] Fix lint --- commands/edit-image/trainer-card.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/edit-image/trainer-card.js b/commands/edit-image/trainer-card.js index 62942cbd..7fd185d2 100644 --- a/commands/edit-image/trainer-card.js +++ b/commands/edit-image/trainer-card.js @@ -1,6 +1,5 @@ const Command = require('../../structures/Command'); const request = require('node-superfetch'); -const cheerio = require('cheerio'); const { stripIndents } = require('common-tags'); const { list } = require('../../util/Util'); const { styles, characters, badges } = require('../../assets/json/trainer-card'); @@ -91,7 +90,7 @@ module.exports = class TrainerCardCommand extends Command { try { const pokemonUsed = []; for (const pkmn of pokemon) { - const id = await pokemon.fetchCardID(); + const id = await pkmn.fetchCardID(); pokemonUsed.push(id); } const card = await this.createCard(style, name, character, badgeChoice, pokemonUsed);