Adding staff apply

This commit is contained in:
2023-03-19 14:57:50 +01:00
parent 9dd175dd82
commit 839b98e5e8
8 changed files with 212 additions and 28 deletions

View File

@@ -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;