Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const rule = parseInt(args[0], 10);
- if (!rule || rule < 1 || rule > 6) return message.reply('Please provide a rule number between 1 and 6.');
- if (rule) {
- const botChannel = message.guild.channels.cache.find(ch => ch.name.includes('command'));
- 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.');
- 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.');
- 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.');
- 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');
- 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.');
- 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.`);
- }
- }
Add Comment
Please, Sign In to add comment