Advertisement
gaber-elsayed

v11 to v12

Oct 12th, 2021
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.83 KB | None | 0 0
  1. const Discord = require("discord.js");;
  2. const hast = require("hastebin-gen");
  3.  
  4. module.exports.run = async (client, message, args) => {
  5. let v11 = args.slice(0).join(" ");
  6. if (!v11) {
  7. return message.channel.send(
  8. "V11 Kodunu Yazar Mısın ?"
  9. );
  10. }
  11. if (v11.length > 1024) {
  12. return message.channel.send(
  13. "Kodun 1024 Karakterden Fazla Bölerek Yazarmısın ?"
  14. );
  15. }
  16. let v12 = v11
  17. .split("get")
  18. .join("cache.get")
  19. .split("addRole")
  20. .join("roles.add")
  21. .split("removeRole")
  22. .join("roles.remove")
  23. .split("users.exists")
  24. .join("users.cache.some")
  25. .split("channels.exists")
  26. .join("channels.cache.some")
  27. .split("find")
  28. .join("cache.find")
  29. .split("RichEmbed")
  30. .join("MessageEmbed")
  31. .split("fetchUser")
  32. .join("users.fetch")
  33. .split("fetchMember")
  34. .join("users.members")
  35. .split("fetchMessage")
  36. .join("users.messages")
  37. .split("fetchPinnedMessages")
  38. .join("messages.fetchPinned")
  39. .split("sendMessage")
  40. .join("send")
  41. .split("sendEmbed")
  42. .join("send")
  43. .split("sendCode")
  44. .join("send")
  45. .split("sendFile")
  46. .join("send")
  47. .split("sendFiles")
  48. .join("send")
  49. .split("setRoles")
  50. .join("roles.set")
  51. .split("colorRole")
  52. .join("roles.color")
  53. .split("highestRole")
  54. .join("roles.highest")
  55. .split("hoistRole")
  56. .join("roles.hoist")
  57. .split("ban")
  58. .join("members.ban")
  59. .split("unban")
  60. .join("members.unban")
  61. .split("avatarURL")
  62. .join("avatarURL()")
  63. .split("displayAvatarURL")
  64. .join("displayAvatarURL()")
  65. .split("iconURL")
  66. .join("iconURL()")
  67. .split("splashURL")
  68. .join("splashURL()")
  69. .split("playFile")
  70. .join("play")
  71. .split("playStream")
  72. .join("play")
  73. .split("playArbitraryInput")
  74. .join("play")
  75. .split("playBroadcast")
  76. .join("play")
  77. .split("playOpusStream")
  78. .join("play")
  79. .split("playConvertedStream")
  80. .join("play")
  81. .split("dispatcher.end()")
  82. .join("dispatcher.destroy()")
  83. .split("createVoiceBroadcast")
  84. .join("voice.createBroadcast")
  85. .split("broadcast.dispatchers")
  86. .join("broadcast.subscribers")
  87. .split("forEach")
  88. .join("cache.forEach")
  89. .split("client.ping")
  90. .join("client.ws.ping")
  91.  
  92. if (v11 == v12) {
  93. return message.channel.send("Bu Kod Zaten V12.");
  94. }
  95.  
  96.  
  97. const embed = new Discord.MessageEmbed()
  98. .addField(
  99. `:inbox_tray: V11 Kod:`,
  100. ` \`\`\`
  101. ${v11}\`\`\` `
  102. )
  103. .addField(
  104. `:outbox_tray: V12 Kod:`,
  105. ` \`\`\`
  106. ${v12}\`\`\` `
  107. )
  108.  
  109.  
  110. message.channel.send(embed);
  111.  
  112. };
  113.  
  114. exports.conf = {
  115. enabled: true,
  116. guildOnly: false,
  117. aliases:['cevir', 'convert'],
  118. permlevel: 0
  119. };
  120.  
  121. exports.help = {
  122. name: "çevir"
  123. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement