Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
Signed-off-by: TRACTION <[email protected]>
  • Loading branch information
iamtraction committed Oct 6, 2024
1 parent d641f80 commit ecc7906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/music/play.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ecc7906

Please sign in to comment.