From e3ab51dc8d927e6302fa04c33fc3ce7f6cbfef5e Mon Sep 17 00:00:00 2001 From: petrspirka Date: Wed, 6 Sep 2023 14:27:25 +0200 Subject: [PATCH] Limited description size for everyone and quote requests --- bot/src/commands/requestEveryone.ts | 1 + bot/src/commands/requestQuote.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/bot/src/commands/requestEveryone.ts b/bot/src/commands/requestEveryone.ts index bb18ace..13a4528 100644 --- a/bot/src/commands/requestEveryone.ts +++ b/bot/src/commands/requestEveryone.ts @@ -17,6 +17,7 @@ export class EveryoneRequestCommand extends ChatInputCommand { .setName(cd.options[0].name) .setDescription(cd.options[0].description) .setRequired(true) + .setMaxLength(256) }) async executable(): Promise { diff --git a/bot/src/commands/requestQuote.ts b/bot/src/commands/requestQuote.ts index b401964..2de6f2a 100644 --- a/bot/src/commands/requestQuote.ts +++ b/bot/src/commands/requestQuote.ts @@ -17,6 +17,7 @@ export class QuoteRequestChatCommnad extends ChatInputCommand { .setName(cd.options[0].name) .setDescription(cd.options[0].description) .setRequired(true) + .setMaxLength(256) }) async executable(): Promise {