Advertisement
gaber-elsayed

كود ملك وكتابة

Oct 9th, 2021
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. client.on ('message', async (Message) => {
  2. var defineduser = Message.author.username;
  3. let filter = r => r.author.id === Message.author.id;
  4. var TAJRAS;
  5. var prix;
  6. var transfer;
  7. var winner;
  8. var Images = [{
  9. url: 'https://cdn.discordapp.com/attachments/634466872007327764/642335373111984128/taj.png',
  10. name: 'نقش'
  11. }, {
  12. url: 'https://cdn.discordapp.com/attachments/634466872007327764/642335372541558794/ras.png',
  13. name: 'طره'
  14. }],
  15. Image = Images[Math.floor (Math.random () * Images.length)];
  16. if (Message.content != prefix + 'عمله' ) return undefined;
  17. else
  18. Message.channel.send('**:diamonds: نقش ولا طره **');
  19. var c = await Message.channel.awaitMessages(filter, {
  20. max: 1,
  21. time: 90000,
  22. errors: ["time"]
  23. });
  24. TAJRAS = c.first().content;
  25. var Words_fail = [
  26. ":diamonds: ينووب",
  27. ":diamonds: حمااار",
  28. ":diamonds: كل زق",
  29. ":diamonds: لا تحاول",
  30. ":diamonds: اه شيت هير وي قو اقين",
  31. ":diamonds: ههههههههههههههههههههههههه",
  32. ];
  33. var hehe = Words_fail[Math.floor (Math.random () * Words_fail.length)];
  34. var Words_win = [
  35. ":diamonds: كفوووو",
  36. ":diamonds: مستخدم شارينقان ؟؟",
  37. ":diamonds: الله عليك يا فخر العرب",
  38. ":diamondsاللله:هه",
  39. ":diamonds: يا بطل",
  40. ":diamonds: يا جدعع",
  41. ];
  42. var kfo = Words_win[Math.floor (Math.random () * Words_win.length)];
  43. let win;
  44. if (TAJRAS == Image.name) { win = defineduser + kfo ; } else { if (TAJRAS != Image.name) win = defineduser + hehe};
  45. Message.channel.send (new (require ('discord.js')).MessageEmbed ()
  46. .setColor("#df3d3d")
  47. .setTitle(win)
  48. .setThumbnail(Message.author.avatarURL())
  49. .setAuthor(`${defineduser}`, `${Message.author.avatarURL()}`)
  50. .setFooter(`${defineduser}`, `${Message.author.avatarURL()}`)
  51. .setImage (Image.url)
  52. .setDescription (`**${Image.name}**`)); //Demon Toxic Codes
  53. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement