2 Commits
v1.2.0 ... main

Author SHA1 Message Date
CL TheDreWen
6dc68dfae9 Update type.d.ts 2026-01-04 17:16:00 +01:00
CL TheDreWen
c1168b7cd4 Update Dockerfile 2025-11-28 14:15:42 +01:00
2 changed files with 4 additions and 4 deletions

View File

@@ -4,8 +4,8 @@ WORKDIR /app
COPY . /app
RUN npm i && \
RUN npm clean-install && \
npm run build && \
npm run register
CMD [ "npm", "run", "start" ]
CMD [ "npm", "run", "start" ]

4
src/type.d.ts vendored
View File

@@ -1,3 +1,3 @@
import { ButtonInteraction, ChatInputCommandInteraction, SlashCommandOptionsOnlyBuilder } from "discord.js";
import { ButtonInteraction, ChatInputCommandInteraction, SlashCommandOptionsOnlyBuilder, ModalSubmitInteraction } from "discord.js";
export type CommandDefinition = { data: SlashCommandBuilder | SlashCommandOptionsOnlyBuilder, execute: (interaction: ChatInputCommandInteraction) => void, buttons?: { id: string, handle: (interaction: ButtonInteraction) => void}[], modals?: { id: string, handle: (interaction: ModalSubmitInteraction) => void }[]};
export type CommandDefinition = { data: SlashCommandBuilder | SlashCommandOptionsOnlyBuilder, execute: (interaction: ChatInputCommandInteraction) => void, buttons?: { id: string, handle: (interaction: ButtonInteraction) => void}[], modals?: { id: string, handle: (interaction: ModalSubmitInteraction) => void }[]};