From 53cc4796f54c75788d17552f55464076b0f5b3f5 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Thu, 19 Sep 2024 19:27:13 +0100 Subject: [PATCH] Move moon entity --- src/buttonEvents/moons/list.ts | 2 +- src/commands/304276391837302787/moons/add.ts | 2 +- src/commands/304276391837302787/moons/list.ts | 2 +- src/database/entities/{ => 304276391837302787}/Moon.ts | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) rename src/database/entities/{ => 304276391837302787}/Moon.ts (92%) diff --git a/src/buttonEvents/moons/list.ts b/src/buttonEvents/moons/list.ts index 9309dbe..ef7f7a9 100644 --- a/src/buttonEvents/moons/list.ts +++ b/src/buttonEvents/moons/list.ts @@ -1,5 +1,5 @@ import {ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, EmbedBuilder} from "discord.js"; -import Moon from "../../database/entities/Moon"; +import Moon from "../../database/entities/304276391837302787/Moon"; import EmbedColours from "../../constants/EmbedColours"; export default async function List(interaction: ButtonInteraction) { diff --git a/src/commands/304276391837302787/moons/add.ts b/src/commands/304276391837302787/moons/add.ts index 3a68a14..a4459fc 100644 --- a/src/commands/304276391837302787/moons/add.ts +++ b/src/commands/304276391837302787/moons/add.ts @@ -1,5 +1,5 @@ import {CommandInteraction, EmbedBuilder} from "discord.js"; -import Moon from "../../../database/entities/Moon"; +import Moon from "../../../database/entities/304276391837302787/Moon"; import EmbedColours from "../../../constants/EmbedColours"; export default async function AddMoon(interaction: CommandInteraction) { diff --git a/src/commands/304276391837302787/moons/list.ts b/src/commands/304276391837302787/moons/list.ts index 8727124..ff4661e 100644 --- a/src/commands/304276391837302787/moons/list.ts +++ b/src/commands/304276391837302787/moons/list.ts @@ -1,5 +1,5 @@ import {ActionRowBuilder, ButtonBuilder, ButtonStyle, CommandInteraction, EmbedBuilder} from "discord.js"; -import Moon from "../../../database/entities/Moon"; +import Moon from "../../../database/entities/304276391837302787/Moon"; import EmbedColours from "../../../constants/EmbedColours"; export default async function ListMoons(interaction: CommandInteraction) { diff --git a/src/database/entities/Moon.ts b/src/database/entities/304276391837302787/Moon.ts similarity index 92% rename from src/database/entities/Moon.ts rename to src/database/entities/304276391837302787/Moon.ts index 24fdbf1..e3ffa48 100644 --- a/src/database/entities/Moon.ts +++ b/src/database/entities/304276391837302787/Moon.ts @@ -1,6 +1,6 @@ import { Column, Entity, IsNull } from "typeorm"; -import BaseEntity from "../../contracts/BaseEntity"; -import AppDataSource from "../dataSources/appDataSource"; +import BaseEntity from "../../../contracts/BaseEntity"; +import AppDataSource from "../../dataSources/appDataSource"; @Entity() export default class Moon extends BaseEntity {