Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. channel.setParent('651925894805454858')
  2. let embed = new Discord.RichEmbed()
  3. .setDescription("<a:carregando2:619293549191495690>**┋Qual o jogador que você quer denunciar?**")
  4. .setColor([153, 0, 204])
  5. channel.send(`${message.author}`)
  6. channel.send(embed).then(msg1 => {
  7. let c1 = channel.createMessageCollector(x => x.author.id == message.author.id, { time: 60000 * 20,max:1})
  8. .on('collect', c => {
  9. reportado = c.content
  10. let embed3 = new Discord.RichEmbed()
  11. .setDescription("<a:carregando2:619293549191495690>**┋Qual o motivo da denúncia?**")
  12. .setColor([153, 0, 204])
  13. channel.send(embed3).then(msg2 => {
  14. let c2 = channel.createMessageCollector(x => x.author.id == message.author.id, { time: 60000 * 20,max:1})
  15. .on('collect', c => {
  16. título = c.content
  17. let embed4 = new Discord.RichEmbed()
  18. .setDescription("<a:carregando2:619293549191495690>**┋Quais ás provas?**")
  19. .setColor([153, 0, 204])
  20. channel.send(embed4).then(msg3 => {
  21. let c3 = channel.createMessageCollector(x => x.author.id == message.author.id, { time: 60000 * 20,max:1})
  22. .on('collect', c => {
  23. anuncio = c.content
  24.  
  25. let embed = new Discord.RichEmbed()
  26. .setTimestamp()
  27. .setColor([153, 0, 204])
  28. .addField("<a:animado:619292304402022425> **__Jogador reportado__**", `**${reportado}**`)
  29. .addField("<a:nitro2:641797829697863690> **__Motivo__**", `**${título}**`)
  30. .addField("<a:carregando:549727542911696945> **__Provas__**", `**${anuncio}**`)
  31. .setFooter(`Reportado por: ${message.author.username}`, message.author.avatarURL)
  32.  
  33.  
  34. let sugestaochannel = message.guild.channels.find(`id`, "651909667357851652");
  35. if(!sugestaochannel) return channel.send("<:incorreto2:626468310556475395>┋Não encontrei o canal de **denúncias**...");
  36. sugestaochannel.send(embed)
  37. channel.delete()
  38. })
  39. })
  40. })
  41. })
  42. })
  43. })
  44.  
  45. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement