Sir_Spaceboi

Rule

Nov 15th, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     const rule = parseInt(args[0], 10);
  2.  
  3.     if (!rule || rule < 1 || rule > 6) return message.reply('Please provide a rule number between 1 and 6.');
  4.  
  5.     if (rule) {
  6.       const botChannel = message.guild.channels.cache.find(ch => ch.name.includes('command'));
  7.  
  8.       if (rule === 1) return message.channel.send('**Harassment:** Harassment of any kind is strictly prohibited and ban-able. If you are caught harassing someone you will be banned and the ban will be non appealable.');
  9.  
  10.       if (rule === 2) return message.channel.send('**NSFW:** NSFW content is strictly prohibited and ban-able. If any NSFW is sent by you, you will be banned immediately this ban will be non appealable.');
  11.  
  12.       if (rule === 3) return message.channel.send('**Profanity:** Low levels of profanity are allowed. If you are using a high level of profanity you may be banned or kicked. Use of racist, sexist or other insulting words to target an individual is STRICTLY forbidden.');
  13.  
  14.       if (rule === 4) return message.channel.send('**Advertising:** Any advertising is ban-able, DM advertising or server advertizing. If you are caught advertising you will be kicked');
  15.  
  16.       if (rule == 5) return message.channel.send('**Loud Audios:** Playing loud audios with @Rythm#3722 or @Rythm2#2000 is strictly prohibited. Playing loud audios will get you a timeout from VCs.');
  17.  
  18.       if (rule == 6) return message.channel.send(`**Spamming:** Spamming is highly prohibited as it can cause the server to crash. If you are caught spamming in any channels including ${botChannel} you will be kicked or banned.`);
  19.     }
  20.   }
Add Comment
Please, Sign In to add comment