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') 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 From 48d943d6638636255abcd79f3f23403c8b6350d4 Mon Sep 17 00:00:00 2001 From: jani270 <69345714+jani270@users.noreply.github.com> Date: Mon, 22 Nov 2021 20:42:01 +0100 Subject: Added a few Links, fixed rules command and also added some things to the badwords list (#41) * Update badlinks.ts * Updating * stuff * Update badlinks.ts * Update badlinks.ts * Update badlinks.ts * Update badlinks.ts * Summary * Update badlinks.ts * YEP * another one * Update badlinks.ts * Update badlinks.ts * Update badlinks.ts * easy anti cheat * scammerino --- src/commands/moulberry-bush/rule.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands') diff --git a/src/commands/moulberry-bush/rule.ts b/src/commands/moulberry-bush/rule.ts index fb322ff..d4820fe 100644 --- a/src/commands/moulberry-bush/rule.ts +++ b/src/commands/moulberry-bush/rule.ts @@ -15,7 +15,7 @@ const rules = [ { title: '3.) No Spamming', description: - 'Including but not limited to: any messages that do not contribute to the conversation, repeated messages, randomly tagging users, and chat flood.' + 'Including but not limited to: any messages that do not contribute to the conversation, repeated messages, linebreaking, randomly tagging users, and chat flood.' }, { title: '4.) English', -- cgit