mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-05 16:57:01 +00:00
fix: dont use the imports
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 13m0s
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 13m0s
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -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
|
||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|
||||||
|
|||||||
@@ -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({
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user