Skip to content

Commit

Permalink
Limited description size for everyone and quote requests (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrspirka authored Sep 8, 2023
1 parent 608fec1 commit 2a0c89b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bot/src/commands/requestEveryone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
Expand Down
1 change: 1 addition & 0 deletions bot/src/commands/requestQuote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
Expand Down

0 comments on commit 2a0c89b

Please sign in to comment.