Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Chat Filter
- bot.on('message', (message) => {
- if (message.content.match(/fuck/)) {
- message.reply("Your not allowed to say that...")
- message.delete()
- }
- if (message.content.match(/dic/)) {
- message.reply("Your not allowed to say that...")
- message.delete()
- }
- if (message.content.match(/cunt/)) {
- message.reply("Your not allowed to say that...")
- message.delete()
- }
- if (message.content.match(/bitch/)) {
- message.reply("Your not allowed to say that...")
- message.delete()
- }
- if (message.content.match(/bish/)) {
- message.reply("Your not allowed to say that...")
- message.delete()
- }
- if (message.content.match(/shit/)) {
- message.reply("Your not allowed to say that...")
- message.delete()
- }
- if (message.content.match(/fuc/)) {
- message.reply("Your not allowed to say that...")
- message.delete()
- }
- if (message.content.match(/ass/)) {
- message.reply("Your not allowed to say that...")
- message.delete()
- }
- if (message.content.match(/nigg/)) {
- message.reply("Your not allowed to say that...")
- message.delete()
- }
- if (message.content.match(/bast/)) {
- message.reply("Your not allowed to say that...")
- message.delete()
- }
- if (message.content.match(/wank/)) {
- message.reply("Your not allowed to say that...")
- message.delete()
- }
- if (message.content.match(/son of a/)) {
- message.reply("Your not allowed to say that...")
- message.delete()
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment