aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/features.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-07-06 20:28:04 +0200
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-07-06 20:28:04 +0200
commit22b3a8af49dc16bf5d8f9c3ce48b4770505ea33b (patch)
treeab7f68cb9168d2b06ba144b48311370059cf5fac /src/commands/config/features.ts
parent544f94704c9dd37913de11eab67cd594d17fcd87 (diff)
downloadtanzanite-22b3a8af49dc16bf5d8f9c3ce48b4770505ea33b.tar.gz
tanzanite-22b3a8af49dc16bf5d8f9c3ce48b4770505ea33b.tar.bz2
tanzanite-22b3a8af49dc16bf5d8f9c3ce48b4770505ea33b.zip
remove array from add*(...)
Diffstat (limited to 'src/commands/config/features.ts')
-rw-r--r--src/commands/config/features.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/config/features.ts b/src/commands/config/features.ts
index e119936..5eafb0c 100644
--- a/src/commands/config/features.ts
+++ b/src/commands/config/features.ts
@@ -86,7 +86,7 @@ export default class FeaturesCommand extends BushCommand {
}
public generateComponents(guildFeatures: GuildFeatures[], disable: boolean) {
- return new ActionRowBuilder<SelectMenuBuilder>().addComponents([
+ return new ActionRowBuilder<SelectMenuBuilder>().addComponents(
new SelectMenuBuilder({
customId: 'command_selectFeature',
disabled: disable,
@@ -100,6 +100,6 @@ export default class FeaturesCommand extends BushCommand {
description: guildFeaturesObj[f].description
}))
})
- ]);
+ );
}
}