Advertisement
migueldeveloper1

pro amiguinho

Jan 23rd, 2020
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const Discord = require ('discord.js')
  2.  
  3. exports.run = async (client, message) => {
  4.  
  5.     await message.author.createDM()
  6.  
  7.     message.author.send("Qual é a seu nome?").then(msg => {
  8.         var msgcolector =  message.author.dmChannel.createMessageCollector(x => x.author.id == message.author.id,{time: 60000 ,max: 1})
  9.         msgcolector.on('collect', async a => {
  10.         var msgcoletada1 = a.content;
  11.  
  12.     message.author.send("Qual é a sua idade?").then(msg => {
  13.         var msgcolector =  message.author.dmChannel.createMessageCollector(x => x.author.id == message.author.id,{time: 60000 ,max: 1})
  14.         msgcolector.on('collect', async b => {
  15.         var msgcoletada2 = b.content;
  16.  
  17.      message.author.send("Qual é seu nick?").then(msg => {
  18.         var msgcolector =  message.author.dmChannel.createMessageCollector(x => x.author.id == message.author.id,{time: 60000 ,max: 1})
  19.         msgcolector.on('collect', async c => {
  20.         var msgcoletada3 = c.content;
  21.  
  22.      message.author.send("Em que você se destaca? (Pvp, Canhão, Farm, Defesa)").then(msg => {
  23.         var msgcolector =  message.author.dmChannel.createMessageCollector(x => x.author.id == message.author.id,{time: 60000 ,max: 1})
  24.         msgcolector.on('collect', async d => {
  25.         var msgcoletada4 = d.content;
  26.  
  27.         message.author.send("Em que turno pode jogar e quantas horas?").then(msg => {
  28.             var msgcolector =  message.author.dmChannel.createMessageCollector(x => x.author.id == message.author.id,{time: 60000 ,max: 1})
  29.             msgcolector.on('collect', async e => {
  30.             var msgcoletada4 = e.content;  
  31.  
  32.             message.author.send("Tem condições de comprar vip?").then(msg => {
  33.                 var msgcolector =  message.author.dmChannel.createMessageCollector(x => x.author.id == message.author.id,{time: 60000 ,max: 1})
  34.                 msgcolector.on('collect', async f => {
  35.                 var msgcoletada4 = f.content;
  36.                
  37.                 message.author.send("**Bom, você concluiu o recrutamento. Caso for aceito, irá ser marcado em nosso canal de #Aprovados!**").then(msg => {
  38.    
  39.    
  40.  
  41.     canal = "668520106942267422"
  42.     let embed = new Discord.RichEmbed()
  43.     .setColor("#ADD8E6")
  44.     .setTitle("⚔️ Recrutamento da Wolf Team!")
  45.     .addField(`**Pergunta 1:**`,`${a.content}`)
  46.     .addField(`**Pergunta 2:**`,`${b.content}`)
  47.     .addField(`**Pergunta 3:**`,`${c.content}`)
  48.     .addField(`**Pergunta 4:**`,`${d.content}`)
  49.     .addField(`**Pergunta 5:**`,`${e.content}`)
  50.     .addField(`**Pergunta 6:**`,`${f.content}`)
  51.     .setDescription(`**Pedido de recrutamento feito por: ${message.author.username}!**`)
  52.  
  53.     message.guild.channels.get(canal).send(embed)
  54.  
  55. });
  56. });
  57. });
  58. });
  59. });
  60. });
  61. });
  62. });
  63. });
  64. });
  65. });
  66. });
  67. });
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement