Updating staff apply
This commit is contained in:
@@ -84,10 +84,6 @@ module.exports = {
|
|||||||
max: 1,
|
max: 1,
|
||||||
time: 1000 * 60
|
time: 1000 * 60
|
||||||
});
|
});
|
||||||
if (input.first().attachments.size > 0) {
|
|
||||||
await user.send({ embeds: [attachments] });
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (input.size === 0) {
|
if (input.size === 0) {
|
||||||
await user.send({ embeds: [tooLong] });
|
await user.send({ embeds: [tooLong] });
|
||||||
return
|
return
|
||||||
@@ -96,9 +92,13 @@ module.exports = {
|
|||||||
await user.send({ embeds: [cancelled] });
|
await user.send({ embeds: [cancelled] });
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (input.first().attachments.size > 0) {
|
||||||
|
await user.send({ embeds: [attachments] });
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// first question
|
// first question
|
||||||
const question1 = await user.send({
|
await user.send({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: "**Question 1**",
|
title: "**Question 1**",
|
||||||
description: sq1 + "\n\nPlease type your answer below or type `cancel` to cancel your application.\n`" + ignM + "`",
|
description: sq1 + "\n\nPlease type your answer below or type `cancel` to cancel your application.\n`" + ignM + "`",
|
||||||
@@ -113,6 +113,14 @@ module.exports = {
|
|||||||
max: 1,
|
max: 1,
|
||||||
time: 1000 * 60 * 5,
|
time: 1000 * 60 * 5,
|
||||||
});
|
});
|
||||||
|
if (answer1.size === 0) {
|
||||||
|
await user.send({ embeds: [tooLong] })
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (answer1.first().content.toLowerCase() === 'cancel') {
|
||||||
|
await user.send({ embeds: [cancelled] })
|
||||||
|
return
|
||||||
|
}
|
||||||
if (answer1.first().attachments.size > 0) {
|
if (answer1.first().attachments.size > 0) {
|
||||||
await user.send({ embeds: [attachments] });
|
await user.send({ embeds: [attachments] });
|
||||||
return
|
return
|
||||||
@@ -138,18 +146,10 @@ module.exports = {
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (answer1.size === 0) {
|
|
||||||
await user.send({ embeds: [tooLong] })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (answer1.first().content.toLowerCase() === 'cancel') {
|
|
||||||
await user.send({ embeds: [cancelled] })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
const answer1_1 = answer1.first().content
|
const answer1_1 = answer1.first().content
|
||||||
|
|
||||||
// second question
|
// second question
|
||||||
const question2 = await user.send({
|
await user.send({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: "**Question 2**",
|
title: "**Question 2**",
|
||||||
description: sq2 + "\n\nPlease type your answer below or type `cancel` to cancel your application.\n" + "`(64 characters max)`",
|
description: sq2 + "\n\nPlease type your answer below or type `cancel` to cancel your application.\n" + "`(64 characters max)`",
|
||||||
@@ -164,6 +164,14 @@ module.exports = {
|
|||||||
max: 1,
|
max: 1,
|
||||||
time: 1000 * 60 * 15
|
time: 1000 * 60 * 15
|
||||||
});
|
});
|
||||||
|
if (answer2.size === 0) {
|
||||||
|
await user.send({ embeds: [tooLong] })
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (answer2.first().content.toLowerCase() === 'cancel') {
|
||||||
|
await user.send({ embeds: [cancelled] })
|
||||||
|
return
|
||||||
|
}
|
||||||
if (answer2.first().attachments.size > 0) {
|
if (answer2.first().attachments.size > 0) {
|
||||||
await user.send({ embeds: [attachments] });
|
await user.send({ embeds: [attachments] });
|
||||||
return
|
return
|
||||||
@@ -177,18 +185,10 @@ module.exports = {
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (answer2.size === 0) {
|
|
||||||
await user.send({ embeds: [tooLong] })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (answer2.first().content.toLowerCase() === 'cancel') {
|
|
||||||
await user.send({ embeds: [cancelled] })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
const answer2_1 = answer2.first().content
|
const answer2_1 = answer2.first().content
|
||||||
|
|
||||||
// third question
|
// third question
|
||||||
const question3 = await user.send({
|
await user.send({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: "**Question 3**",
|
title: "**Question 3**",
|
||||||
description: sq3 + "\n\nPlease type your answer below or type `cancel` to cancel your application.\n`" + largeM + "`",
|
description: sq3 + "\n\nPlease type your answer below or type `cancel` to cancel your application.\n`" + largeM + "`",
|
||||||
@@ -203,6 +203,14 @@ module.exports = {
|
|||||||
max: 1,
|
max: 1,
|
||||||
time: 1000 * 60 * 15
|
time: 1000 * 60 * 15
|
||||||
});
|
});
|
||||||
|
if (answer3.size === 0) {
|
||||||
|
await user.send({ embeds: [tooLong] })
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (answer3.first().content.toLowerCase() === 'cancel') {
|
||||||
|
await user.send({ embeds: [cancelled] })
|
||||||
|
return
|
||||||
|
}
|
||||||
if (answer3.first().attachments.size > 0) {
|
if (answer3.first().attachments.size > 0) {
|
||||||
await user.send({ embeds: [attachments] });
|
await user.send({ embeds: [attachments] });
|
||||||
return
|
return
|
||||||
@@ -215,18 +223,10 @@ module.exports = {
|
|||||||
}]
|
}]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (answer3.size === 0) {
|
|
||||||
await user.send({ embeds: [tooLong] })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (answer3.first().content.toLowerCase() === 'cancel') {
|
|
||||||
await user.send({ embeds: [cancelled] })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
const answer3_1 = answer3.first().content
|
const answer3_1 = answer3.first().content
|
||||||
|
|
||||||
// fourth question
|
// fourth question
|
||||||
const question4 = await user.send({
|
await user.send({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: "**Question 4**",
|
title: "**Question 4**",
|
||||||
description: sq4 + "\n\nPlease type your answer below or type `cancel` to cancel your application.\n`" + largeM + "`",
|
description: sq4 + "\n\nPlease type your answer below or type `cancel` to cancel your application.\n`" + largeM + "`",
|
||||||
@@ -241,6 +241,14 @@ module.exports = {
|
|||||||
max: 1,
|
max: 1,
|
||||||
time: 1000 * 60 * 15
|
time: 1000 * 60 * 15
|
||||||
});
|
});
|
||||||
|
if (answer4.size === 0) {
|
||||||
|
await user.send({ embeds: [tooLong] })
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (answer4.first().content.toLowerCase() === 'cancel') {
|
||||||
|
await user.send({ embeds: [cancelled] })
|
||||||
|
return
|
||||||
|
}
|
||||||
if (answer4.first().attachments.size > 0) {
|
if (answer4.first().attachments.size > 0) {
|
||||||
await user.send({ embeds: [attachments] });
|
await user.send({ embeds: [attachments] });
|
||||||
return
|
return
|
||||||
@@ -253,18 +261,10 @@ module.exports = {
|
|||||||
}]
|
}]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (answer4.size === 0) {
|
|
||||||
await user.send({ embeds: [tooLong] })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (answer4.first().content.toLowerCase() === 'cancel') {
|
|
||||||
await user.send({ embeds: [cancelled] })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
const answer4_1 = answer4.first().content
|
const answer4_1 = answer4.first().content
|
||||||
|
|
||||||
// fifth question
|
// fifth question
|
||||||
const question5 = await user.send({
|
await user.send({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: "**Question 5**",
|
title: "**Question 5**",
|
||||||
description: sq5 + "\n\nPlease type your answer below or type `cancel` to cancel your application.\n`" + largeM + "`",
|
description: sq5 + "\n\nPlease type your answer below or type `cancel` to cancel your application.\n`" + largeM + "`",
|
||||||
@@ -279,6 +279,14 @@ module.exports = {
|
|||||||
max: 1,
|
max: 1,
|
||||||
time: 1000 * 60 * 15
|
time: 1000 * 60 * 15
|
||||||
});
|
});
|
||||||
|
if (answer5.size === 0) {
|
||||||
|
await user.send({ embeds: [tooLong] })
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (answer5.first().content.toLowerCase() === 'cancel') {
|
||||||
|
await user.send({ embeds: [cancelled] })
|
||||||
|
return
|
||||||
|
}
|
||||||
if (answer5.first().attachments.size > 0) {
|
if (answer5.first().attachments.size > 0) {
|
||||||
await user.send({ embeds: [attachments] });
|
await user.send({ embeds: [attachments] });
|
||||||
return
|
return
|
||||||
@@ -291,18 +299,10 @@ module.exports = {
|
|||||||
}]
|
}]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (answer5.size === 0) {
|
|
||||||
await user.send({ embeds: [tooLong] })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (answer5.first().content.toLowerCase() === 'cancel') {
|
|
||||||
await user.send({ embeds: [cancelled] })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
const answer5_1 = answer5.first().content
|
const answer5_1 = answer5.first().content
|
||||||
|
|
||||||
// sixth question
|
// sixth question
|
||||||
const question6 = await user.send({
|
await user.send({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: "**Question 6**",
|
title: "**Question 6**",
|
||||||
description: sq6 + "\n\nPlease type your answer below or type `cancel` to cancel your application." +
|
description: sq6 + "\n\nPlease type your answer below or type `cancel` to cancel your application." +
|
||||||
@@ -318,6 +318,14 @@ module.exports = {
|
|||||||
max: 1,
|
max: 1,
|
||||||
time: 1000 * 60 * 15
|
time: 1000 * 60 * 15
|
||||||
});
|
});
|
||||||
|
if (answer6.size === 0) {
|
||||||
|
await user.send({ embeds: [tooLong] })
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if (answer6.first().content.toLowerCase() === 'cancel') {
|
||||||
|
await user.send({ embeds: [cancelled] })
|
||||||
|
return
|
||||||
|
}
|
||||||
if (answer6.first().attachments.size > 0) {
|
if (answer6.first().attachments.size > 0) {
|
||||||
await user.send({ embeds: [attachments] });
|
await user.send({ embeds: [attachments] });
|
||||||
return
|
return
|
||||||
@@ -330,14 +338,6 @@ module.exports = {
|
|||||||
}]
|
}]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (answer6.size === 0) {
|
|
||||||
await user.send({ embeds: [tooLong] })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (answer6.first().content.toLowerCase() === 'cancel') {
|
|
||||||
await user.send({ embeds: [cancelled] })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
const answer6_1 = answer6.first().content
|
const answer6_1 = answer6.first().content
|
||||||
|
|
||||||
await user.send({
|
await user.send({
|
||||||
@@ -352,10 +352,6 @@ module.exports = {
|
|||||||
max: 1,
|
max: 1,
|
||||||
time: 1000 * 60 * 5
|
time: 1000 * 60 * 5
|
||||||
});
|
});
|
||||||
if (final.first().attachments.size > 0) {
|
|
||||||
await user.send({ embeds: [attachments] });
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (final.size === 0) {
|
if (final.size === 0) {
|
||||||
await user.send({ embeds: [tooLong] });
|
await user.send({ embeds: [tooLong] });
|
||||||
return
|
return
|
||||||
@@ -364,6 +360,10 @@ module.exports = {
|
|||||||
await user.send({ embeds: [cancelled] });
|
await user.send({ embeds: [cancelled] });
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (final.first().attachments.size > 0) {
|
||||||
|
await user.send({ embeds: [attachments] });
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
await user.send({
|
await user.send({
|
||||||
embeds: [{
|
embeds: [{
|
||||||
|
|||||||
Reference in New Issue
Block a user