mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-28 04:11:57 +01:00
🚨 Fix build errors (#247)
This commit is contained in:
parent
e04e5cae50
commit
89a92b0016
@ -6,7 +6,7 @@ import {
|
||||
import { Injectable, Logger, OnModuleDestroy } from '@nestjs/common';
|
||||
import { EventEmitter2 } from '@nestjs/event-emitter';
|
||||
import { Cron } from '@nestjs/schedule';
|
||||
import { flatMapTrackItems } from 'src/utils/trackConverter';
|
||||
import { flatMapTrackItems } from '../../utils/trackConverter';
|
||||
|
||||
import { WebSocket } from 'ws';
|
||||
|
||||
|
@ -6,7 +6,7 @@ import { CommandInteraction } from 'discord.js';
|
||||
|
||||
import { DiscordMessageService } from '../clients/discord/discord.message.service';
|
||||
import { DiscordVoiceService } from '../clients/discord/discord.voice.service';
|
||||
import { defaultMemberPermissions } from 'src/utils/environment';
|
||||
import { defaultMemberPermissions } from '../utils/environment';
|
||||
import { PlaybackService } from 'src/playback/playback.service';
|
||||
|
||||
@Injectable()
|
||||
|
@ -5,7 +5,7 @@ import { Injectable } from '@nestjs/common';
|
||||
import { CommandInteraction } from 'discord.js';
|
||||
|
||||
import { DiscordMessageService } from '../clients/discord/discord.message.service';
|
||||
import { defaultMemberPermissions } from 'src/utils/environment';
|
||||
import { defaultMemberPermissions } from '../utils/environment';
|
||||
|
||||
@Injectable()
|
||||
@Command({
|
||||
|
@ -6,7 +6,7 @@ import { CommandInteraction } from 'discord.js';
|
||||
|
||||
import { PlaybackService } from '../playback/playback.service';
|
||||
import { DiscordMessageService } from '../clients/discord/discord.message.service';
|
||||
import { defaultMemberPermissions } from 'src/utils/environment';
|
||||
import { defaultMemberPermissions } from '../utils/environment';
|
||||
|
||||
@Command({
|
||||
name: 'next',
|
||||
|
@ -6,7 +6,7 @@ import { CommandInteraction } from 'discord.js';
|
||||
|
||||
import { DiscordMessageService } from '../clients/discord/discord.message.service';
|
||||
import { DiscordVoiceService } from '../clients/discord/discord.voice.service';
|
||||
import { defaultMemberPermissions } from 'src/utils/environment';
|
||||
import { defaultMemberPermissions } from '../utils/environment';
|
||||
|
||||
@Injectable()
|
||||
@Command({
|
||||
|
@ -27,7 +27,7 @@ import { SearchItem } from '../../models/search/SearchItem';
|
||||
import { PlaybackService } from '../../playback/playback.service';
|
||||
import { formatMillisecondsAsHumanReadable } from '../../utils/timeUtils';
|
||||
|
||||
import { defaultMemberPermissions } from 'src/utils/environment';
|
||||
import { defaultMemberPermissions } from '../../utils/environment';
|
||||
import { PlayCommandParams, SearchType } from './play.params.ts';
|
||||
|
||||
@Injectable()
|
||||
|
@ -30,7 +30,7 @@ import {
|
||||
|
||||
import { Interval } from '@nestjs/schedule';
|
||||
import { lightFormat } from 'date-fns';
|
||||
import { defaultMemberPermissions } from 'src/utils/environment';
|
||||
import { defaultMemberPermissions } from '../../utils/environment';
|
||||
import { PlaylistInteractionCollector } from './playlist.interaction-collector';
|
||||
import { PlaylistCommandParams } from './playlist.params';
|
||||
import { PlaylistTempCommandData } from './playlist.types';
|
||||
|
@ -6,7 +6,7 @@ import { CommandInteraction } from 'discord.js';
|
||||
|
||||
import { PlaybackService } from '../playback/playback.service';
|
||||
import { DiscordMessageService } from '../clients/discord/discord.message.service';
|
||||
import { defaultMemberPermissions } from 'src/utils/environment';
|
||||
import { defaultMemberPermissions } from '../utils/environment';
|
||||
|
||||
@Injectable()
|
||||
@Command({
|
||||
|
@ -12,7 +12,7 @@ import { JellyfinSearchService } from 'src/clients/jellyfin/jellyfin.search.serv
|
||||
import { SearchItem } from 'src/models/search/SearchItem';
|
||||
import { PlaybackService } from 'src/playback/playback.service';
|
||||
import { RandomCommandParams } from './random.params';
|
||||
import { defaultMemberPermissions } from 'src/utils/environment';
|
||||
import { defaultMemberPermissions } from '../../utils/environment';
|
||||
|
||||
@Command({
|
||||
name: 'random',
|
||||
|
@ -7,7 +7,7 @@ import { CommandInteraction } from 'discord.js';
|
||||
import { PlaybackService } from '../playback/playback.service';
|
||||
import { DiscordMessageService } from '../clients/discord/discord.message.service';
|
||||
import { DiscordVoiceService } from '../clients/discord/discord.voice.service';
|
||||
import { defaultMemberPermissions } from 'src/utils/environment';
|
||||
import { defaultMemberPermissions } from '../utils/environment';
|
||||
|
||||
@Command({
|
||||
name: 'stop',
|
||||
|
@ -6,7 +6,7 @@ import { CommandInteraction, GuildMember } from 'discord.js';
|
||||
|
||||
import { DiscordMessageService } from '../clients/discord/discord.message.service';
|
||||
import { DiscordVoiceService } from '../clients/discord/discord.voice.service';
|
||||
import { defaultMemberPermissions } from 'src/utils/environment';
|
||||
import { defaultMemberPermissions } from '../utils/environment';
|
||||
|
||||
@Injectable()
|
||||
@Command({
|
||||
|
@ -8,9 +8,9 @@ import { CommandInteraction } from 'discord.js';
|
||||
import { DiscordMessageService } from 'src/clients/discord/discord.message.service';
|
||||
import { DiscordVoiceService } from 'src/clients/discord/discord.voice.service';
|
||||
import { PlaybackService } from 'src/playback/playback.service';
|
||||
import { sleepAsync } from 'src/utils/timeUtils';
|
||||
import { sleepAsync } from '../../utils/timeUtils';
|
||||
import { VolumeCommandParams } from './volume.params';
|
||||
import { defaultMemberPermissions } from 'src/utils/environment';
|
||||
import { defaultMemberPermissions } from '../../utils/environment';
|
||||
|
||||
@Injectable()
|
||||
@Command({
|
||||
|
@ -4,7 +4,7 @@ import { Track } from '../music/Track';
|
||||
import { JellyfinSearchService } from '../../clients/jellyfin/jellyfin.search.service';
|
||||
|
||||
import { SearchItem } from './SearchItem';
|
||||
import { trimStringToFixedLength } from 'src/utils/stringUtils/stringUtils';
|
||||
import { trimStringToFixedLength } from '../../utils/stringUtils/stringUtils';
|
||||
|
||||
export class AlbumSearchItem extends SearchItem {
|
||||
override toString(): string {
|
||||
|
@ -4,8 +4,8 @@ import { Track } from '../music/Track';
|
||||
import { JellyfinSearchService } from '../../clients/jellyfin/jellyfin.search.service';
|
||||
|
||||
import { SearchItem } from './SearchItem';
|
||||
import { flatMapTrackItems } from 'src/utils/trackConverter';
|
||||
import { trimStringToFixedLength } from 'src/utils/stringUtils/stringUtils';
|
||||
import { flatMapTrackItems } from '../../utils/trackConverter';
|
||||
import { trimStringToFixedLength } from '../../utils/stringUtils/stringUtils';
|
||||
|
||||
export class PlaylistSearchItem extends SearchItem {
|
||||
override toString(): string {
|
||||
|
@ -6,7 +6,7 @@ import { z } from 'zod';
|
||||
|
||||
import { JellyfinSearchService } from '../../clients/jellyfin/jellyfin.search.service';
|
||||
import { Track } from '../music/Track';
|
||||
import { trimStringToFixedLength } from 'src/utils/stringUtils/stringUtils';
|
||||
import { trimStringToFixedLength } from '../../utils/stringUtils/stringUtils';
|
||||
|
||||
export class SearchItem {
|
||||
constructor(
|
||||
|
Loading…
Reference in New Issue
Block a user