Ligrade

Discord.js dmall

Aug 16th, 2019
3,308
0
Never
10
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. const Discord = require('discord.js');
  2. const bot = new Discord.Client();
  3. const token = process.env.token
  4. const prefix = ("$");
  5.  
  6. const index = require('./index.json');
  7.  
  8. bot.on('ready', function () {
  9. console.log("Je suis prêt à être utilisé.")
  10. bot.user.setActivity('$help > MpBot').catch(console.error)
  11. });
  12.  
  13. bot.on ('message', message => {
  14. var prefix = '$'
  15.  
  16. if (message.content === prefix + "help"){
  17. var embed = new Discord.RichEmbed()
  18. .setTitle('**Commandes:**')
  19. .setDescription('')
  20. .addField('$mpall',"MP tout le serveur.")
  21. .addField('$Invite',"Envoie un lien pour invité le bot Ou [Click Ici](https://discordapp.com/api/oauth2/authorize?client_id=606165721902350356&permissions=27649&scope=bot) ", true)
  22. .addField('$Ping',"Affiche le ping du bot.")
  23. .setColor('0xff0101')
  24. .setFooter('Created By 7igr4d3#7395')
  25. message.channel.sendEmbed(embed);
  26. }
  27. })
  28.  
  29. bot.on('message', msg => {
  30.  
  31. if (msg.content === '$Invite') {
  32. msg.reply('Go DM');
  33. msg.member.send('**Voici le lien:** https://discordapp.com/api/oauth2/authorize?client_id=606165721902350356&permissions=27649&scope=bot');
  34. }
  35. if (msg.content === '$invite') {
  36. msg.reply('Go DM');
  37. msg.member.send('**Voici le lien:** https://discordapp.com/api/oauth2/authorize?client_id=606165721902350356&permissions=27649&scope=bot');
  38. }
  39. if(msg.content.startsWith(`${prefix}mpall`)) {
  40. msg.channel.sendMessage("**Envoie des DM à** **" + msg.guild.memberCount + "** **en cours, 2 Minutes Restant**")
  41. }
  42. if(msg.content.startsWith(`${prefix}ping`)) {
  43.  
  44. let embed = new Discord.RichEmbed()
  45. .setColor(0x43f033)
  46. .setDescription(`Loading...`)
  47. .setTimestamp()
  48. msg.channel.send(embed).then(msg => {
  49. embed.setColor(0x43f033)
  50. embed.setDescription(`:ping_pong: Pong! **\`${bot.pings[0]}ms\`**`)
  51. embed.setFooter(`Voici Le Ping Du Bot`)
  52. embed.setTimestamp()
  53. msg.edit(embed)
  54. })
  55.  
  56. }
  57. });
  58.  
  59. bot.on("message", msg => {
  60. if(msg.content.startsWith(`${prefix}mpall`)) {
  61.  
  62. var args = msg.content.split(" ").slice(2);
  63. var msge = args.join(' ');
  64.  
  65. if(!msg.guild.member(msg.author).hasPermission("ADMINISTRATOR")) return msg.channel.send(":x: MP Annulé, Tu n'as pas la permission d'utiliser cette commande!");
  66. if(!msge) return msg.channel.send("Précise un message")
  67. var mpall =new Discord.RichEmbed()
  68. .addField("Message:", msge);
  69.  
  70. msg.delete()
  71. msg.guild.members.map(m => m.send(mpall))
  72.  
  73.  
  74.  
  75. }
  76.  
  77. });
  78.  
  79. bot.login(token);
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Lenastir
    54 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
  • User was banned
Add Comment
Please, Sign In to add comment