diff --git a/src/utils/SetupSystem.ts b/src/utils/SetupSystem.ts index b0d7b800f..2fdb402bc 100644 --- a/src/utils/SetupSystem.ts +++ b/src/utils/SetupSystem.ts @@ -7,6 +7,9 @@ import { Song } from '../structures/Dispatcher.js'; import { Dispatcher, Lavamusic } from '../structures/index.js'; function neb(embed: EmbedBuilder, player: Dispatcher, client: Lavamusic): EmbedBuilder { + + if (player && !player.current && !player.current.info) return embed; + let iconUrl = client.config.icons[player.current.info.sourceName]; if (!iconUrl) iconUrl = client.user.displayAvatarURL({ extension: 'png' });