diff --git a/events/buttons/guilapply.js b/events/buttons/guilapply.js index a4326e4..6104eda 100644 --- a/events/buttons/guilapply.js +++ b/events/buttons/guilapply.js @@ -161,7 +161,7 @@ module.exports = { await user.send({ embeds: [attachments] }); return } - if (answer2.first().content > 8) { + if (answer2.first().content.size > 8) { await user.send({ embeds: [{ description: "Max character limit is 8.", diff --git a/events/buttons/guildapplicationaccept.js b/events/buttons/guildapplicationaccept.js index a5b6eed..6c8dceb 100644 --- a/events/buttons/guildapplicationaccept.js +++ b/events/buttons/guildapplicationaccept.js @@ -24,7 +24,6 @@ module.exports = { const applicant = await guild.members.fetch(applicantId) const applicantUsername = applicant.user.username + "#" + applicant.user.discriminator; - const applicationFile = require(`../../apps/guild/${applicantId}`); await message.edit({ components: [