mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +00:00
fix /help buttons if undefined links in config
This commit is contained in:
1 parent
612e3a00a6
commit
a39e359759
1 file changed
+1
-1
@@ -61,7 +61,7 @@ class HelpCommand extends BaseSlashCommandInteraction {
|
|||||||
.setDescription(`${this.embedOptions.icons.rule} **List of commands**\n` + commandEmbedString)
|
.setDescription(`${this.embedOptions.icons.rule} **List of commands**\n` + commandEmbedString)
|
||||||
.setColor(this.embedOptions.colors.info)
|
.setColor(this.embedOptions.colors.info)
|
||||||
],
|
],
|
||||||
components: [embedActionRow]
|
components: components.length > 0 ? [embedActionRow] : []
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user