MCninja

Untitled

Dec 26th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. //Chat Filter
  2. bot.on('message', (message) => {
  3. if (message.content.match(/fuck/)) {
  4. message.reply("Your not allowed to say that...")
  5. message.delete()
  6. }
  7. if (message.content.match(/dic/)) {
  8. message.reply("Your not allowed to say that...")
  9. message.delete()
  10. }
  11. if (message.content.match(/cunt/)) {
  12. message.reply("Your not allowed to say that...")
  13. message.delete()
  14. }
  15. if (message.content.match(/bitch/)) {
  16. message.reply("Your not allowed to say that...")
  17. message.delete()
  18. }
  19. if (message.content.match(/bish/)) {
  20. message.reply("Your not allowed to say that...")
  21. message.delete()
  22. }
  23. if (message.content.match(/shit/)) {
  24. message.reply("Your not allowed to say that...")
  25. message.delete()
  26. }
  27. if (message.content.match(/fuc/)) {
  28. message.reply("Your not allowed to say that...")
  29. message.delete()
  30. }
  31. if (message.content.match(/ass/)) {
  32. message.reply("Your not allowed to say that...")
  33. message.delete()
  34. }
  35. if (message.content.match(/nigg/)) {
  36. message.reply("Your not allowed to say that...")
  37. message.delete()
  38. }
  39. if (message.content.match(/bast/)) {
  40. message.reply("Your not allowed to say that...")
  41. message.delete()
  42. }
  43. if (message.content.match(/wank/)) {
  44. message.reply("Your not allowed to say that...")
  45. message.delete()
  46. }
  47. if (message.content.match(/son of a/)) {
  48. message.reply("Your not allowed to say that...")
  49. message.delete()
  50. }
  51. });
Advertisement
Add Comment
Please, Sign In to add comment