diff --git a/src/command.ts b/src/command.ts index dae6617..ff9588d 100644 --- a/src/command.ts +++ b/src/command.ts @@ -1,5 +1,5 @@ -import { ApplicationCommandType, AutocompleteFocusedOption, AutocompleteInteraction, ChatInputCommandInteraction, ContextMenuCommandBuilder, ContextMenuCommandInteraction, Message, SharedSlashCommand, Snowflake, User } from "discord.js"; -import { Config } from "./config"; +import { ApplicationCommandType, type AutocompleteFocusedOption, AutocompleteInteraction, ChatInputCommandInteraction, ContextMenuCommandBuilder, ContextMenuCommandInteraction, Message, SharedSlashCommand, User } from "discord.js"; +import { type Config } from "./config"; export abstract class ICommand { } diff --git a/src/index.ts b/src/index.ts index 255f8b8..1737481 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,15 +1,9 @@ import { - ApplicationCommand, ApplicationCommandType, Client, Events, - GatewayIntentBits, - InteractionCallback, InteractionContextType, REST, - RestOrArray, - Routes, - SlashCommandBooleanOption, } from "discord.js"; import path from "node:path"; import fs from "node:fs"; diff --git a/tsconfig.json b/tsconfig.json index 042b4a5..1e21bcf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,20 +1,21 @@ { - "compilerOptions": { - "module": "ESNext", - "target": "ESNext", - "moduleResolution": "node", - "skipLibCheck": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "allowImportingTsExtensions": true, - "noEmit": true, - "forceConsistentCasingInFileNames": true, - "strict": true - }, - "ts-node": { "compilerOptions": { - "module": "ESNext" - } - }, - "include": ["src/*"] + "module": "ESNext", + "target": "ESNext", + "moduleResolution": "node", + "skipLibCheck": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "allowImportingTsExtensions": true, + "noEmit": true, + "forceConsistentCasingInFileNames": true, + "verbatimModuleSyntax": true, + "strict": true + }, + "ts-node": { + "compilerOptions": { + "module": "ESNext" + } + }, + "include": ["src/*"] }