Set max length of confession box to 2000
This commit is contained in:
parent
645a8b2ae7
commit
ae27c7d24e
|
@ -41,6 +41,7 @@ export const data = new SlashCommandBuilder()
|
|||
.setName("message")
|
||||
.setRequired(true)
|
||||
.setDescription("What you want to confess")
|
||||
.setMaxLength(2000)
|
||||
)
|
||||
.addStringOption(option =>
|
||||
option
|
||||
|
|
|
@ -165,7 +165,7 @@ BotClient.on(Events.InteractionCreate, async interaction => {
|
|||
isAttachment(attachment) && adminConfessionEmbed.setImage(attachment);
|
||||
|
||||
const submitConfessionButton = new ButtonBuilder()
|
||||
.setCustomId("submitConfession")
|
||||
.setCustomId("requestSubmit")
|
||||
.setLabel("Submit a Confession")
|
||||
.setStyle(ButtonStyle.Primary);
|
||||
|
||||
|
|
Loading…
Reference in a new issue