Adding staff apply
This commit is contained in:
@@ -9,14 +9,12 @@ module.exports = {
|
||||
type: 'modal',
|
||||
|
||||
async execute(interaction) {
|
||||
|
||||
if (interaction.type === InteractionType.ApplicationCommand) return;
|
||||
|
||||
interaction.deferReply();
|
||||
|
||||
|
||||
if (interaction.type !== InteractionType.ModalSubmit) return;
|
||||
if (interaction.customId !== "denyreasonbox") return;
|
||||
|
||||
|
||||
interaction.deferReply();
|
||||
|
||||
const channel = interaction.channel;
|
||||
const applicantId = channel.topic;
|
||||
const guild = interaction.guild;
|
||||
|
||||
Reference in New Issue
Block a user