From 80f2b6e06146c946083b5e56651708cdf6ad0bd1 Mon Sep 17 00:00:00 2001 From: Manuel Date: Sun, 26 Mar 2023 16:11:25 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Fix=20warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/clients/discord/discord.message.service.ts | 2 +- src/commands/random/random.command.ts | 1 - src/commands/volume/volume.command.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/clients/discord/discord.message.service.ts b/src/clients/discord/discord.message.service.ts index 86e8d52..3b76577 100644 --- a/src/clients/discord/discord.message.service.ts +++ b/src/clients/discord/discord.message.service.ts @@ -39,7 +39,7 @@ export class DiscordMessageService { }: { title: string; description?: string; - authorUrl?: string | undefined; + authorUrl?: string; mixin?: (embedBuilder: EmbedBuilder) => EmbedBuilder; }): APIEmbed { let embedBuilder = new EmbedBuilder() diff --git a/src/commands/random/random.command.ts b/src/commands/random/random.command.ts index 9326175..3ce5bd6 100644 --- a/src/commands/random/random.command.ts +++ b/src/commands/random/random.command.ts @@ -10,7 +10,6 @@ import { DiscordMessageService } from 'src/clients/discord/discord.message.servi import { DiscordVoiceService } from 'src/clients/discord/discord.voice.service'; import { JellyfinSearchService } from 'src/clients/jellyfin/jellyfin.search.service'; import { SearchHint } from 'src/models/search/SearchHint'; -import { Track } from 'src/models/shared/Track'; import { PlaybackService } from 'src/playback/playback.service'; import { RandomCommandParams } from './random.params'; diff --git a/src/commands/volume/volume.command.ts b/src/commands/volume/volume.command.ts index 30f8f00..3bbe4ab 100644 --- a/src/commands/volume/volume.command.ts +++ b/src/commands/volume/volume.command.ts @@ -5,7 +5,6 @@ import { Logger } from '@nestjs/common'; import { Injectable } from '@nestjs/common/decorators'; import { CommandInteraction } from 'discord.js'; -import e from 'express'; 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';