0.0.4 • Published 3 years ago

swearoo.js-yarn v0.0.4

Weekly downloads
2
License
Apache-2.0
Repository
-
Last release
3 years ago

Swearoo.js

DOCUMENTATION: CLICK ME

UPDATE LOG 1.0.0!

Added 4 new languages! Swedish Belarus Persian And Chinese We Currently Have 5 languages!

UPCOMING UPDATE!

Yarn!

Add the Swearoo.js Module in your bot to filter every swear word out.

Install

npm install swearoo.js

Example

const Discord = require('discord.js')
const client = new Discord.Client();                          
const swearoo = require("swearoo.js") 


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

  client.on('message', async message => {
    swearoo(client, message);
    console.log(`ID: ${message.author.id} Username: ${message.author.username} Said a swear word!`)
    })

client.login(token)

Support

Join the support server: CLICK ME