WIP: Split up moon counter from the database #489

Draft
Vylpes wants to merge 16 commits from feature/300-moon-set into develop
4 changed files with 5 additions and 5 deletions
Showing only changes of commit 67eafa695c - Show all commits

View file

@ -1,5 +1,5 @@
import {ButtonInteraction} from "discord.js"; import {ButtonInteraction} from "discord.js";
import {ButtonEvent} from "../type/buttonEvent"; import {ButtonEvent} from "../../type/buttonEvent";
import List from "./moons/list"; import List from "./moons/list";
export default class Moons extends ButtonEvent { export default class Moons extends ButtonEvent {

View file

@ -1,7 +1,7 @@
import {ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, EmbedBuilder} from "discord.js"; import {ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, EmbedBuilder} from "discord.js";
import Moon from "../../database/entities/304276391837302787/Moon"; import Moon from "../../../database/entities/304276391837302787/Moon";
import EmbedColours from "../../constants/EmbedColours"; import EmbedColours from "../../../constants/EmbedColours";
import UserSetting from "../../database/entities/UserSetting"; import UserSetting from "../../../database/entities/UserSetting";
export default async function List(interaction: ButtonInteraction) { export default async function List(interaction: ButtonInteraction) {
if (!interaction.guild) return; if (!interaction.guild) return;

View file

@ -42,7 +42,7 @@ import MessageCreate from "./events/MessageEvents/MessageCreate";
// Button Event Imports // Button Event Imports
import Verify from "./buttonEvents/verify"; import Verify from "./buttonEvents/verify";
import MoonsButtonEvent from "./buttonEvents/moons"; import MoonsButtonEvent from "./buttonEvents/304276391837302787/moons";
export default class Registry { export default class Registry {
public static RegisterCommands() { public static RegisterCommands() {