Fix linting
All checks were successful
Test / build (push) Successful in 41s

This commit is contained in:
Ethan Lane 2025-05-04 10:59:05 +01:00 committed by Vylpes
parent f903847204
commit a29cd2ed20
2 changed files with 2 additions and 3 deletions

View file

@ -4,7 +4,6 @@ import { CardRarity, CardRarityChoices, CardRarityParse } from "../../constants/
import { readFileSync } from "fs";
import Inventory from "../../database/entities/app/Inventory";
import { v4 } from "uuid";
import { CoreClient } from "../../client/client";
import path from "path";
import GetCardsHelper from "../../helpers/DropHelpers/GetCardsHelper";
import DropEmbedHelper from "../../helpers/DropHelpers/DropEmbedHelper";
@ -42,7 +41,7 @@ export default class Droprarity extends Command {
return;
}
const card = await GetCardsHelper.GetRandomCardByRarity(rarityType);
const card = GetCardsHelper.GetRandomCardByRarity(rarityType);
if (!card) {
await interaction.reply("Card not found");

View file

@ -27,7 +27,7 @@ describe("execute", () => {
describe("GIVEN user is in the database", () => {
let interaction: CommandInteractionMock;
let user: User;
let randomCard = {
const randomCard = {
card: {
id: "cardId",
path: "https://google.com/",