tools-anti-spam

1.0.4 • Public • Published

Tools Anti Spam

A module to help you in the moment of spammers.

Installation

This package uses the basic Discord.js setup NOT THE MASTER.

If you do not have Discord.js, please do get it. And you just place the code below in the file, with all the other neccessary stuff to make your bot run.

The Code

var tools = require("tools-anti-spam");
 
tools(client, {
  warnBuffer: 3, 
  maxBuffer: 5,
  interval: 1000,
  warningMessage: "Ew, disgusting.. Stop spamming in our server!", 
  banMessage: "has been banned for spamming, who else wants the same treatment?",
  maxDuplicatesWarning : 7, 
  maxDuplicatesBan: 10
});
 

This is from our Discord bot(Tools)

If you have any issues; bugs, or setup. Feel free to ask us on Discord

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i tools-anti-spam

      Weekly Downloads

      0

      Version

      1.0.4

      License

      ISC

      Unpacked Size

      4.8 kB

      Total Files

      3

      Last publish

      Collaborators

      • wolfiejs