Formatted all files using clang

This commit is contained in:
2023-09-01 06:53:45 +02:00
parent dc3525a524
commit 9787b0e14a
37 changed files with 1708 additions and 1717 deletions

View File

@@ -2,27 +2,27 @@ const { ModalBuilder, ActionRowBuilder, TextInputBuilder, TextInputStyle } = req
const { color } = require('../../config/options.json')
module.exports = {
name: 'verify',
description: 'Configure the bot.',
type: 'button',
name: 'verify',
description: 'Configure the bot.',
type: 'button',
async execute(interaction) {
async execute(interaction) {
const modal = new ModalBuilder()
.setTitle("Verification")
.setCustomId("verifybox")
.setComponents(
new ActionRowBuilder().setComponents(
new TextInputBuilder()
.setLabel("IGN")
.setCustomId("verifyfield")
.setStyle(TextInputStyle.Short)
.setPlaceholder("Enter your ign.")
.setRequired(true)
.setMinLength(3)
.setMaxLength(16)
const modal = new ModalBuilder()
.setTitle("Verification")
.setCustomId("verifybox")
.setComponents(
new ActionRowBuilder().setComponents(
new TextInputBuilder()
.setLabel("IGN")
.setCustomId("verifyfield")
.setStyle(TextInputStyle.Short)
.setPlaceholder("Enter your ign.")
.setRequired(true)
.setMinLength(3)
.setMaxLength(16)
)
)
)
await interaction.showModal(modal)
}
await interaction.showModal(modal)
}
}