fix /help buttons if undefined links in config

This commit is contained in:
Marius Begby committed 2023-12-16 22:57:53 +01:00
1 parent 612e3a00a6
commit a39e359759
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@ class HelpCommand extends BaseSlashCommandInteraction {
.setDescription(`${this.embedOptions.icons.rule} **List of commands**\n` + commandEmbedString)
.setColor(this.embedOptions.colors.info)
],
components: [embedActionRow]
components: components.length > 0 ? [embedActionRow] : []
});
}