Fixed breaking changes

This commit is contained in:
2022-07-15 15:41:29 +07:00
parent b207ca5cb3
commit 8b5f3ac2f8
9 changed files with 77 additions and 73 deletions
+2 -2
View File
@@ -124,7 +124,7 @@ export default class PlayMy extends DiscordModule {
// The query length is too long to fit in json
if (query.length > 100 - 51) return;
row = new ActionRowBuilder<ButtonBuilder>().addComponents(
row = new ActionRowBuilder<ButtonBuilder>().addComponents([
new ButtonBuilder()
.setEmoji('🔎')
.setCustomId(
@@ -138,7 +138,7 @@ export default class PlayMy extends DiscordModule {
)
.setLabel(' Not this? Search!')
.setStyle(ButtonStyle.Primary)
);
]);
}
if(!row)