0.0.1 • Published 4 years ago

discord-anti-swear.js v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Anti Swear Words Module

Add the Anti Swear Word Module in your bot to filter every swear word out.

Install

npm install discord-anti-swear.js

Example

const Discord = require('discord.js')
const client = new Discord.Client();                          
const antiswear = require("discord-anti-swear.js") 


client.on('ready', () => {
    console.log(`Logged in as ${client.user.tag}!`)                 //console log when ready
})

client.on('message', async message => {
antiswear(client, message);                                   //module function
})

client.login(token)                                               //client login

Support

Join the support server: CLICK ME