Add ability to add a moon to your count #477

Merged
Vylpes merged 7 commits from feature/196-add-moons into develop 2024-09-21 16:12:19 +01:00
4 changed files with 5 additions and 5 deletions
Showing only changes of commit 53cc4796f5 - Show all commits

View file

@ -1,5 +1,5 @@
import {ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, EmbedBuilder} from "discord.js"; 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"; import EmbedColours from "../../constants/EmbedColours";
export default async function List(interaction: ButtonInteraction) { export default async function List(interaction: ButtonInteraction) {

View file

@ -1,5 +1,5 @@
import {CommandInteraction, EmbedBuilder} from "discord.js"; import {CommandInteraction, EmbedBuilder} from "discord.js";
import Moon from "../../../database/entities/Moon"; import Moon from "../../../database/entities/304276391837302787/Moon";
import EmbedColours from "../../../constants/EmbedColours"; import EmbedColours from "../../../constants/EmbedColours";
export default async function AddMoon(interaction: CommandInteraction) { export default async function AddMoon(interaction: CommandInteraction) {

View file

@ -1,5 +1,5 @@
import {ActionRowBuilder, ButtonBuilder, ButtonStyle, CommandInteraction, EmbedBuilder} from "discord.js"; 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"; import EmbedColours from "../../../constants/EmbedColours";
export default async function ListMoons(interaction: CommandInteraction) { export default async function ListMoons(interaction: CommandInteraction) {

View file

@ -1,6 +1,6 @@
import { Column, Entity, IsNull } from "typeorm"; import { Column, Entity, IsNull } from "typeorm";
import BaseEntity from "../../contracts/BaseEntity"; import BaseEntity from "../../../contracts/BaseEntity";
import AppDataSource from "../dataSources/appDataSource"; import AppDataSource from "../../dataSources/appDataSource";
@Entity() @Entity()
export default class Moon extends BaseEntity { export default class Moon extends BaseEntity {