// THIS IS partnertool.js const { TextInputBuilder, TextInputStyle } = require('discord.js') module.exports= { ServerNameInput: new TextInputBuilder() .setCustomId('partnerservername') .setStyle(TextInputStyle.Short) .setRequired(true), OwnerNameInput: new TextInputBuilder() .setCustomId('ownername') .setStyle(TextInputStyle.Short) .setRequired(true), MembersNumberInput: new TextInputBuilder() .setCustomId('membersnumber') .setStyle(TextInputStyle.Short) .setRequired(true), ServerTopicInput: new TextInputBuilder() .setCustomId('servertopic') .setStyle(TextInputStyle.Short) .setRequired(true), ServerLinkInput: new TextInputBuilder() .setCustomId('serverlink') .setStyle(TextInputStyle.Short) .setRequired(true), } // THIS IS partneradds.js const { LabelBuilder } = require('discord.js') const { ServerNameInput, OwnerNameInput, MembersNumberInput, ServerTopicInput, ServerLinkInput } = require('./partnertools.js') // module.exports = { serverNameLabel: new LabelBuilder() .setLabel(`What's the name of your server?`) .setDescription('The name displayed for the server') .setTextInputComponent(ServerNameInput), ownerNameLabel: new LabelBuilder() .setLabel(`What's the Name of the server owner?`) .setDescription('Write the full username') .setTextInputComponent(OwnerNameInput), membersNumberLabel: new LabelBuilder() .setLabel(`How many members do you have in your server?`) .setDescription('Be very specific when you type the number') .setTextInputComponent(MembersNumberInput), serverTopicLabel: new LabelBuilder() .setLabel(`What's the topic of your server?`) .setDescription('Community? Gaming?') .setTextInputComponent(ServerTopicInput), serverLinkLabel: new LabelBuilder() .setLabel(`Send here a link to your server`) .setDescription('discord links accepted only') .setTextInputComponent(ServerLinkInput), } // THIS IS partnermodal.js const { ModalBuilder } = require('discord.js') const { serverNameLabel, ownerNameLabel, membersNumberLabel, serverTopicLabel, serverLinkLabel } = require('./partneradds.js') // module.exports = { partnershipModal: new ModalBuilder() .setTitle('Partnership Request') .setCustomId('dss_partnershipmodal') .addLabelComponents(serverNameLabel, ownerNameLabel, membersNumberLabel, serverTopicLabel, serverLinkLabel), }