Advertisement
Guest User

Untitled

a guest
Jul 16th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. bot.on('message', async message => {
  2. if(message.content.startsWith(prefix + "تقديم")) {
  3. await message.channel.send(`اكتب تقديمك الان`)
  4. let filter = m => m.author.id === message.author.id
  5. var text = '';
  6. let sugsa = message.channel.awaitMessages(filter, { max: 1, time: 60000})
  7. .then(co => {
  8. text = co.first().content
  9.  
  10. message.channel.send(`تم حفظ تقديمك الرجاء انتضار الرد من قبل الاداره`)
  11. let embed = new Discord.RichEmbed()
  12.  
  13. bot.channels.get("467362408399110160").send(`${message.author.username}'s =>
  14. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  15.  
  16. ${text}
  17. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  18. `)
  19. message.channel.sendEmbed(embed);
  20.  
  21.  
  22. })
  23. }
  24. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement