Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Discord = require ('discord.js')
- exports.run = async (client, message) => {
- await message.author.createDM()
- message.author.send("Qual é a seu nome?").then(msg => {
- var msgcolector = message.author.dmChannel.createMessageCollector(x => x.author.id == message.author.id,{time: 60000 ,max: 1})
- msgcolector.on('collect', async a => {
- var msgcoletada1 = a.content;
- message.author.send("Qual é a sua idade?").then(msg => {
- var msgcolector = message.author.dmChannel.createMessageCollector(x => x.author.id == message.author.id,{time: 60000 ,max: 1})
- msgcolector.on('collect', async b => {
- var msgcoletada2 = b.content;
- message.author.send("Qual é seu nick?").then(msg => {
- var msgcolector = message.author.dmChannel.createMessageCollector(x => x.author.id == message.author.id,{time: 60000 ,max: 1})
- msgcolector.on('collect', async c => {
- var msgcoletada3 = c.content;
- message.author.send("Em que você se destaca? (Pvp, Canhão, Farm, Defesa)").then(msg => {
- var msgcolector = message.author.dmChannel.createMessageCollector(x => x.author.id == message.author.id,{time: 60000 ,max: 1})
- msgcolector.on('collect', async d => {
- var msgcoletada4 = d.content;
- message.author.send("Em que turno pode jogar e quantas horas?").then(msg => {
- var msgcolector = message.author.dmChannel.createMessageCollector(x => x.author.id == message.author.id,{time: 60000 ,max: 1})
- msgcolector.on('collect', async e => {
- var msgcoletada4 = e.content;
- message.author.send("Tem condições de comprar vip?").then(msg => {
- var msgcolector = message.author.dmChannel.createMessageCollector(x => x.author.id == message.author.id,{time: 60000 ,max: 1})
- msgcolector.on('collect', async f => {
- var msgcoletada4 = f.content;
- message.author.send("**Bom, você concluiu o recrutamento. Caso for aceito, irá ser marcado em nosso canal de #Aprovados!**").then(msg => {
- canal = "668520106942267422"
- let embed = new Discord.RichEmbed()
- .setColor("#ADD8E6")
- .setTitle("⚔️ Recrutamento da Wolf Team!")
- .addField(`**Pergunta 1:**`,`${a.content}`)
- .addField(`**Pergunta 2:**`,`${b.content}`)
- .addField(`**Pergunta 3:**`,`${c.content}`)
- .addField(`**Pergunta 4:**`,`${d.content}`)
- .addField(`**Pergunta 5:**`,`${e.content}`)
- .addField(`**Pergunta 6:**`,`${f.content}`)
- .setDescription(`**Pedido de recrutamento feito por: ${message.author.username}!**`)
- message.guild.channels.get(canal).send(embed)
- });
- });
- });
- });
- });
- });
- });
- });
- });
- });
- });
- });
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement