Update backend, DB, Commands, Live Reloading
This commit is contained in:
@@ -20,7 +20,7 @@ module.exports = {
|
||||
let toggles = existingSettings.commandToggles;
|
||||
// Include all loaded commands so simple command modules (no SlashCommandBuilder) like
|
||||
// `ping` are also listed. Filter for objects with a name for safety.
|
||||
const commands = Array.from(interaction.client.commands.values()).filter(cmd => cmd && cmd.name);
|
||||
const commands = Array.from(interaction.client.commands.values()).filter(cmd => cmd && cmd.name && !cmd.dev);
|
||||
|
||||
// Build button components (max 5 rows, 5 buttons per row)
|
||||
const actionRows = [];
|
||||
|
||||
Reference in New Issue
Block a user