diff --git a/src/commands/nowplaying.ts b/src/commands/nowplaying.ts index 65bdad6..d468498 100644 --- a/src/commands/nowplaying.ts +++ b/src/commands/nowplaying.ts @@ -68,7 +68,6 @@ export default class PingCommand extends Command { ) ]; const meow = Object.keys(songlink.linksByPlatform) - let message = "" const nya: ActionRowBuilder[] = []; let currentRow = new ActionRowBuilder(); @@ -85,10 +84,10 @@ export default class PingCommand extends Command { .setStyle(ButtonStyle.Link) ); } - components[0].addActionRowComponents(nya) if (currentRow.components.length > 0) { nya.push(currentRow); } + components[0].addActionRowComponents(nya) await interaction.followUp({ components: components, flags: [MessageFlags.IsComponentsV2], @@ -102,7 +101,7 @@ export default class PingCommand extends Command { .setFooter({ text: "song.link proxying was turned off or failed - amy jr", }); - + await interaction.followUp({embeds:[embedfallback]}) } }