3.0 update!
This commit is contained in:
@@ -21,7 +21,7 @@ exports.closeVerifyBar = new arb()
|
||||
.setDisabled(false)
|
||||
.setStyle(bs.Primary)
|
||||
.setEmoji("💬")
|
||||
.setLabel("close with reason")
|
||||
.setLabel(l.buttons.closeWithReason)
|
||||
)
|
||||
.addComponents(
|
||||
new button()
|
||||
|
||||
@@ -22,14 +22,14 @@ const tib = discord.TextInputBuilder
|
||||
module.exports = () => {
|
||||
//theModal
|
||||
const reasonModal = new modal()
|
||||
.setTitle("close with reason")
|
||||
.setTitle(l.buttons.closeWithReason)
|
||||
.setCustomId("OTCloseReasonModal")
|
||||
|
||||
const reasonInput = new arb()
|
||||
.addComponents([
|
||||
new tib()
|
||||
.setCustomId('OTreasonInput')
|
||||
.setLabel("What is the reason for closing this ticket?")
|
||||
.setLabel(l.messages.modalreason)
|
||||
.setStyle(tis.Short)
|
||||
.setMaxLength(100)
|
||||
.setRequired(true)
|
||||
|
||||
Reference in New Issue
Block a user