fix: dont use the imports
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 13m0s

This commit is contained in:
2026-04-02 17:47:59 +02:00
parent 502811ca9f
commit a6df2e4f31
6 changed files with 9 additions and 8 deletions

3
.gitignore vendored
View File

@@ -7,4 +7,5 @@ dist/
/generated/generated/prisma /generated/generated/prisma
src/utils/db/dict.db src/utils/db/dict.db
prisma/vinci.db prisma/vinci.db
!.env.example !.env.example
.codex

View File

@@ -1,4 +1,4 @@
import { Resolver } from '#/resolver'; import { Resolver } from '../../utils/resolver.js';
import { commandModule, CommandType } from '@sern/handler' import { commandModule, CommandType } from '@sern/handler'
import { PublishConfig } from '@sern/publisher'; import { PublishConfig } from '@sern/publisher';
import { ActionRowBuilder, ApplicationCommandOptionType, ChannelType, Collection, EmbedBuilder, PermissionFlagsBits, Role, StringSelectMenuBuilder, TextChannel } from "discord.js"; import { ActionRowBuilder, ApplicationCommandOptionType, ChannelType, Collection, EmbedBuilder, PermissionFlagsBits, Role, StringSelectMenuBuilder, TextChannel } from "discord.js";
@@ -87,4 +87,4 @@ function createMenu(channel: TextChannel, role: Collection<string, Role>) {
); );
const row = new ActionRowBuilder<StringSelectMenuBuilder>().setComponents(menu); const row = new ActionRowBuilder<StringSelectMenuBuilder>().setComponents(menu);
return row; return row;
}; };

View File

@@ -1,4 +1,4 @@
import { fisherYatesShuffle } from '#/fisheryates'; import { fisherYatesShuffle } from '../../utils/fisheryates.js';
import { commandModule, CommandType } from '@sern/handler'; import { commandModule, CommandType } from '@sern/handler';
import { EmbedBuilder } from 'discord.js'; import { EmbedBuilder } from 'discord.js';
import { readFile } from 'fs/promises'; import { readFile } from 'fs/promises';

View File

@@ -1,5 +1,5 @@
import { Palabra } from '#/db/dict.types'; import { Palabra } from '../../utils/db/dict.types.js';
import { WordController } from '#/wordController'; import { WordController } from '../../utils/wordController.js';
import { commandModule, CommandType } from '@sern/handler'; import { commandModule, CommandType } from '@sern/handler';
import { ActionRowBuilder, TextInputBuilder, TextInputStyle } from 'discord.js'; import { ActionRowBuilder, TextInputBuilder, TextInputStyle } from 'discord.js';

View File

@@ -1,4 +1,4 @@
import { Palabra } from '#/db/dict.types'; import { Palabra } from '../../utils/db/dict.types.js';
import { commandModule, CommandType } from '@sern/handler'; import { commandModule, CommandType } from '@sern/handler';
export default commandModule({ export default commandModule({

View File

@@ -1,4 +1,4 @@
import { aiHandle } from '#/aiHandle'; import { aiHandle } from '../../utils/aiHandle.js';
import { EventType, eventModule } from '@sern/handler'; import { EventType, eventModule } from '@sern/handler';
import { ChannelType } from 'discord.js'; import { ChannelType } from 'discord.js';