Changed import alias

This commit is contained in:
2024-10-07 18:16:23 +02:00
parent 0646e80697
commit 2ca3336f1f
104 changed files with 281 additions and 271 deletions

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function leave(interaction: ChatInputCommandInteraction) {
const player = useMainPlayer()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function nowplaying(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function pause(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction, GuildMember } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function play(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function queue(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function skip(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function pause(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()

View File

@@ -1,6 +1,6 @@
import { embedColor } from "config/options.js"
import { useMainPlayer } from "discord-player"
import { ChatInputCommandInteraction } from "discord.js"
import { embedColor } from "~/config/options.js"
export default async function volume(interaction: ChatInputCommandInteraction) {
await interaction.deferReply()