diff --git a/package.json b/package.json index 3c86218..a1fe700 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "type": "module", "dependencies": { "chalk": "^5.3.0", - "discord.js": "^14.16.1", + "discord.js": "^14.16.2", "express": "^4.21.0", "express-session": "^1.18.0", "node-cache": "^5.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 936787d..fa7f37f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^5.3.0 version: 5.3.0 discord.js: - specifier: ^14.16.1 - version: 14.16.1 + specifier: ^14.16.2 + version: 14.16.2 express: specifier: ^4.21.0 version: 4.21.0 @@ -707,8 +707,8 @@ packages: discord-api-types@0.37.97: resolution: {integrity: sha512-No1BXPcVkyVD4ZVmbNgDKaBoqgeQ+FJpzZ8wqHkfmBnTZig1FcH3iPPersiK1TUIAzgClh2IvOuVUYfcWLQAOA==} - discord.js@14.16.1: - resolution: {integrity: sha512-/diX4shp3q1F3EySGQbQl10el+KIpffLSOJdtM35gGV7zw2ED7rKbASKJT7UIR9L/lTd0KtNenZ/h739TN7diA==} + discord.js@14.16.2: + resolution: {integrity: sha512-VGNi9WE2dZIxYM8/r/iatQQ+3LT8STW4hhczJOwm+DBeHq66vsKDCk8trChNCB01sMO9crslYuEMeZl2d7r3xw==} engines: {node: '>=18'} ee-first@1.1.1: @@ -2114,7 +2114,7 @@ snapshots: discord-api-types@0.37.97: {} - discord.js@14.16.1: + discord.js@14.16.2: dependencies: '@discordjs/builders': 1.9.0 '@discordjs/collection': 1.5.3 diff --git a/src/Discord/Handlers/ButtonHandler.ts b/src/Discord/Handlers/ButtonHandler.ts index 9edd3dd..810c072 100644 --- a/src/Discord/Handlers/ButtonHandler.ts +++ b/src/Discord/Handlers/ButtonHandler.ts @@ -1,9 +1,9 @@ import Button from '../Private/Button'; import DiscordManager from '../DiscordManager'; +import Embed from '../Private/Embed'; +import SpotifyManagerError from '../../Private/Error'; import { ButtonInteraction, Collection } from 'discord.js'; import { readdirSync } from 'fs'; -import SpotifyManagerError from '../../Private/Error'; -import Embed from '../Private/Embed'; class ButtonHandler { readonly discord: DiscordManager; diff --git a/src/Discord/Handlers/CommandHandler.ts b/src/Discord/Handlers/CommandHandler.ts index e07fc56..aba3440 100644 --- a/src/Discord/Handlers/CommandHandler.ts +++ b/src/Discord/Handlers/CommandHandler.ts @@ -1,9 +1,9 @@ import Command from '../Private/Command'; import DiscordManager from '../DiscordManager'; -import { BaseMessageOptions, ChatInputCommandInteraction, Collection, REST, Routes } from 'discord.js'; -import { readdirSync } from 'fs'; import Embed from '../Private/Embed'; import SpotifyManagerError from '../../Private/Error'; +import { ChatInputCommandInteraction, Collection, REST, Routes } from 'discord.js'; +import { readdirSync } from 'fs'; class CommandHancler { readonly discord: DiscordManager;