aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan <66741050+EthanDevelops@users.noreply.github.com>2021-11-22 14:41:16 -0500
committerGitHub <noreply@github.com>2021-11-22 14:41:16 -0500
commitb5b56b31f29728b9a5fbe4db350dee1f3547cee4 (patch)
tree2e4d762cb422dc4520015e2b145fa88f4d85ba3c
parent23bf2485fe17472f17bd0ee0af6b22973e317550 (diff)
downloadtanzanite-b5b56b31f29728b9a5fbe4db350dee1f3547cee4.tar.gz
tanzanite-b5b56b31f29728b9a5fbe4db350dee1f3547cee4.tar.bz2
tanzanite-b5b56b31f29728b9a5fbe4db350dee1f3547cee4.zip
DiscordAPIError: Invalid Form Body (#42)
min_values must be greater to or less than 1. Error code: 50035: Invalid form body (returned for both application/json and multipart/form-data bodies), or invalid Content-Type provided
-rw-r--r--src/commands/config/features.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/config/features.ts b/src/commands/config/features.ts
index 8c9351d..d2c2baf 100644
--- a/src/commands/config/features.ts
+++ b/src/commands/config/features.ts
@@ -80,7 +80,7 @@ export default class FeaturesCommand extends BushCommand {
customId: 'command_selectFeature',
disabled: disable,
maxValues: 1,
- minValues: 2,
+ minValues: 1,
options: guildFeatures.map((f) => ({
label: guildFeaturesObj[f].name,
value: f,