From ecc7906e571d975c597567368eabd82e2adef68c Mon Sep 17 00:00:00 2001 From: TRACTION <19631364+iamtraction@users.noreply.github.com> Date: Sun, 6 Oct 2024 13:14:04 +0530 Subject: [PATCH] chore: linting Signed-off-by: TRACTION <19631364+iamtraction@users.noreply.github.com> --- src/commands/music/play.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/music/play.ts b/src/commands/music/play.ts index 09099a836..65e1d3416 100644 --- a/src/commands/music/play.ts +++ b/src/commands/music/play.ts @@ -3,7 +3,7 @@ * @copyright 2022 */ import { ApplicationCommandOptionType, ChatInputCommandInteraction } from "discord.js"; -import { AudioPlayerStatus, AudioResource, createAudioPlayer, createAudioResource, entersState, getVoiceConnection, joinVoiceChannel, NoSubscriberBehavior, VoiceConnection, VoiceConnectionStatus } from "@discordjs/voice"; +import { AudioPlayerStatus, AudioResource, createAudioPlayer, createAudioResource, DiscordGatewayAdapterCreator, entersState, getVoiceConnection, joinVoiceChannel, NoSubscriberBehavior, VoiceConnection, VoiceConnectionStatus } from "@discordjs/voice"; import { Client, Command, Logger } from "@bastion/tesseract"; import { music } from "@bastion/tesseract/typings/types.js"; import playDL from "@iamtraction/play-dl"; @@ -39,7 +39,7 @@ class PlayCommand extends Command { selfMute: false, guildId: interaction.guildId, channelId: interaction.channelId, - adapterCreator: interaction.guild.voiceAdapterCreator, + adapterCreator: interaction.guild.voiceAdapterCreator as DiscordGatewayAdapterCreator, }); // voice connection events