feat: refactor command imports, enhance status service with logging and notification features, and update entity definitions

This commit is contained in:
2025-10-31 10:02:44 +01:00
parent 03769b14fa
commit 6b10aaa009
9 changed files with 165 additions and 109 deletions

View File

@@ -1,4 +1,4 @@
import { ApplicationIntegrationType, ButtonInteraction, ButtonStyle, ChatInputCommandInteraction, CommandInteraction, ComponentType, ContainerBuilder, InteractionContextType, MessageFlags, SlashCommandBuilder } from "discord.js";
import { ApplicationIntegrationType, ButtonInteraction, ButtonStyle, ChatInputCommandInteraction, ContainerBuilder, InteractionContextType, MessageFlags, SlashCommandBuilder } from "discord.js";
import { CommandDefinition } from "../../type";
const cmd : CommandDefinition = {

View File

@@ -1,8 +1,6 @@
import { ApplicationIntegrationType, ChatInputCommandInteraction, CommandInteraction, ContainerBuilder, EmbedBuilder, InteractionContextType, MessageFlags, SlashCommandBuilder } from "discord.js";
import ping from "ping";
import { ApplicationIntegrationType, ChatInputCommandInteraction, InteractionContextType, MessageFlags, SlashCommandBuilder } from "discord.js";
import statusService from "../../services/status.service";
import { CommandDefinition, InfraType } from "../../type";
import { secureHeapUsed } from "crypto";
import { CommandDefinition} from "../../type";
const cmd : CommandDefinition = {
data: new SlashCommandBuilder()