From a6df2e4f31362b6ebd9496142d6d7145f7545ef6 Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Thu, 2 Apr 2026 17:47:59 +0200 Subject: [PATCH] fix: dont use the imports --- .gitignore | 3 ++- src/commands/admin/rolemenu.ts | 4 ++-- src/commands/silly/chiste.ts | 2 +- src/commands/silly/hangman.ts | 4 ++-- src/commands/silly/palabra.ts | 2 +- src/events/ai/message.ts | 2 +- 6 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 49a4198..a1526ea 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ dist/ /generated/generated/prisma src/utils/db/dict.db prisma/vinci.db -!.env.example \ No newline at end of file +!.env.example +.codex \ No newline at end of file diff --git a/src/commands/admin/rolemenu.ts b/src/commands/admin/rolemenu.ts index a372bff..90abfe3 100644 --- a/src/commands/admin/rolemenu.ts +++ b/src/commands/admin/rolemenu.ts @@ -1,4 +1,4 @@ -import { Resolver } from '#/resolver'; +import { Resolver } from '../../utils/resolver.js'; import { commandModule, CommandType } from '@sern/handler' import { PublishConfig } from '@sern/publisher'; import { ActionRowBuilder, ApplicationCommandOptionType, ChannelType, Collection, EmbedBuilder, PermissionFlagsBits, Role, StringSelectMenuBuilder, TextChannel } from "discord.js"; @@ -87,4 +87,4 @@ function createMenu(channel: TextChannel, role: Collection) { ); const row = new ActionRowBuilder().setComponents(menu); return row; -}; \ No newline at end of file +}; diff --git a/src/commands/silly/chiste.ts b/src/commands/silly/chiste.ts index cbf5bce..d59aa14 100644 --- a/src/commands/silly/chiste.ts +++ b/src/commands/silly/chiste.ts @@ -1,4 +1,4 @@ -import { fisherYatesShuffle } from '#/fisheryates'; +import { fisherYatesShuffle } from '../../utils/fisheryates.js'; import { commandModule, CommandType } from '@sern/handler'; import { EmbedBuilder } from 'discord.js'; import { readFile } from 'fs/promises'; diff --git a/src/commands/silly/hangman.ts b/src/commands/silly/hangman.ts index 376ed5e..bc5d1d0 100644 --- a/src/commands/silly/hangman.ts +++ b/src/commands/silly/hangman.ts @@ -1,5 +1,5 @@ -import { Palabra } from '#/db/dict.types'; -import { WordController } from '#/wordController'; +import { Palabra } from '../../utils/db/dict.types.js'; +import { WordController } from '../../utils/wordController.js'; import { commandModule, CommandType } from '@sern/handler'; import { ActionRowBuilder, TextInputBuilder, TextInputStyle } from 'discord.js'; diff --git a/src/commands/silly/palabra.ts b/src/commands/silly/palabra.ts index 3586181..f0075b9 100644 --- a/src/commands/silly/palabra.ts +++ b/src/commands/silly/palabra.ts @@ -1,4 +1,4 @@ -import { Palabra } from '#/db/dict.types'; +import { Palabra } from '../../utils/db/dict.types.js'; import { commandModule, CommandType } from '@sern/handler'; export default commandModule({ diff --git a/src/events/ai/message.ts b/src/events/ai/message.ts index b79f652..57a13b6 100644 --- a/src/events/ai/message.ts +++ b/src/events/ai/message.ts @@ -1,4 +1,4 @@ -import { aiHandle } from '#/aiHandle'; +import { aiHandle } from '../../utils/aiHandle.js'; import { EventType, eventModule } from '@sern/handler'; import { ChannelType } from 'discord.js';