Replaced clang format with prettuier (sadly)
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
import { ModalBuilder, ActionRowBuilder, TextInputBuilder, TextInputStyle } from "discord.js"
|
||||
import {
|
||||
ModalBuilder,
|
||||
ActionRowBuilder,
|
||||
TextInputBuilder,
|
||||
TextInputStyle,
|
||||
} from "discord.js"
|
||||
import { Button } from "../../interfaces"
|
||||
|
||||
export = {
|
||||
@@ -7,7 +12,6 @@ export = {
|
||||
type: "button",
|
||||
|
||||
async execute(interaction) {
|
||||
|
||||
const modal = new ModalBuilder()
|
||||
.setTitle("Deny Reason")
|
||||
.setCustomId("denyreasonbox")
|
||||
@@ -17,10 +21,12 @@ export = {
|
||||
.setLabel("Deny Reason")
|
||||
.setCustomId("denyreason")
|
||||
.setStyle(TextInputStyle.Paragraph)
|
||||
.setPlaceholder("Enter a reason for denying the application")
|
||||
.setRequired(false)
|
||||
)
|
||||
.setPlaceholder(
|
||||
"Enter a reason for denying the application",
|
||||
)
|
||||
.setRequired(false),
|
||||
),
|
||||
)
|
||||
await interaction.showModal(modal)
|
||||
}
|
||||
} as Button
|
||||
},
|
||||
} as Button
|
||||
|
||||
Reference in New Issue
Block a user