From b5b56b31f29728b9a5fbe4db350dee1f3547cee4 Mon Sep 17 00:00:00 2001 From: Ethan <66741050+EthanDevelops@users.noreply.github.com> Date: Mon, 22 Nov 2021 14:41:16 -0500 Subject: 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 --- src/commands/config/features.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/config/features.ts') 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, -- cgit