Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- channel.setParent('651925894805454858')
- let embed = new Discord.RichEmbed()
- .setDescription("<a:carregando2:619293549191495690>**┋Qual o jogador que você quer denunciar?**")
- .setColor([153, 0, 204])
- channel.send(`${message.author}`)
- channel.send(embed).then(msg1 => {
- let c1 = channel.createMessageCollector(x => x.author.id == message.author.id, { time: 60000 * 20,max:1})
- .on('collect', c => {
- reportado = c.content
- let embed3 = new Discord.RichEmbed()
- .setDescription("<a:carregando2:619293549191495690>**┋Qual o motivo da denúncia?**")
- .setColor([153, 0, 204])
- channel.send(embed3).then(msg2 => {
- let c2 = channel.createMessageCollector(x => x.author.id == message.author.id, { time: 60000 * 20,max:1})
- .on('collect', c => {
- título = c.content
- let embed4 = new Discord.RichEmbed()
- .setDescription("<a:carregando2:619293549191495690>**┋Quais ás provas?**")
- .setColor([153, 0, 204])
- channel.send(embed4).then(msg3 => {
- let c3 = channel.createMessageCollector(x => x.author.id == message.author.id, { time: 60000 * 20,max:1})
- .on('collect', c => {
- anuncio = c.content
- let embed = new Discord.RichEmbed()
- .setTimestamp()
- .setColor([153, 0, 204])
- .addField("<a:animado:619292304402022425> **__Jogador reportado__**", `**${reportado}**`)
- .addField("<a:nitro2:641797829697863690> **__Motivo__**", `**${título}**`)
- .addField("<a:carregando:549727542911696945> **__Provas__**", `**${anuncio}**`)
- .setFooter(`Reportado por: ${message.author.username}`, message.author.avatarURL)
- let sugestaochannel = message.guild.channels.find(`id`, "651909667357851652");
- if(!sugestaochannel) return channel.send("<:incorreto2:626468310556475395>┋Não encontrei o canal de **denúncias**...");
- sugestaochannel.send(embed)
- channel.delete()
- })
- })
- })
- })
- })
- })
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement