Advertisement
iBeAnthonyD

roll Code / Malicious Codes

May 2nd, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. client.on('message', function(message) {//iBeAnthonyD//Malicious Codes
  2.     if(message.content.startsWith(prefix + 'roll')) {
  3.         let args = message.content.split(" ").slice(1);//iBeAnthonyD//Malicious Codes
  4.         if (!args[0]) {
  5.             message.channel.send('**حط رقم معين يتم السحب منه**');
  6.             return;
  7.             }//iBeAnthonyD//Malicious Codes
  8.     message.channel.send(Math.floor(Math.random() * args.join(' ')));
  9.             if (!args[0]) {
  10.           message.edit('1')
  11.           return;//iBeAnthonyD//Malicious Codes
  12.         }
  13.     }
  14. });//iBeAnthonyD//Malicious Codes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement