one line fucked everything up
This commit is contained in:
parent
79740a8639
commit
29cfc2ab10
1 changed files with 2 additions and 3 deletions
|
|
@ -68,7 +68,6 @@ export default class PingCommand extends Command {
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
const meow = Object.keys(songlink.linksByPlatform)
|
const meow = Object.keys(songlink.linksByPlatform)
|
||||||
let message = ""
|
|
||||||
|
|
||||||
const nya: ActionRowBuilder<ButtonBuilder>[] = [];
|
const nya: ActionRowBuilder<ButtonBuilder>[] = [];
|
||||||
let currentRow = new ActionRowBuilder<ButtonBuilder>();
|
let currentRow = new ActionRowBuilder<ButtonBuilder>();
|
||||||
|
|
@ -85,10 +84,10 @@ export default class PingCommand extends Command {
|
||||||
.setStyle(ButtonStyle.Link)
|
.setStyle(ButtonStyle.Link)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
components[0].addActionRowComponents(nya)
|
|
||||||
if (currentRow.components.length > 0) {
|
if (currentRow.components.length > 0) {
|
||||||
nya.push(currentRow);
|
nya.push(currentRow);
|
||||||
}
|
}
|
||||||
|
components[0].addActionRowComponents(nya)
|
||||||
await interaction.followUp({
|
await interaction.followUp({
|
||||||
components: components,
|
components: components,
|
||||||
flags: [MessageFlags.IsComponentsV2],
|
flags: [MessageFlags.IsComponentsV2],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue