Skip to content

Commit

Permalink
Limited description size for everyone and quote requests
Browse files Browse the repository at this point in the history
  • Loading branch information
petrspirka committed Sep 6, 2023
1 parent 8bedcb2 commit e3ab51d
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 e3ab51d

Please sign in to comment.