Spam Limit!

NPM Version

We have included our spam rate limiter which is set to 5 messages in 10 seconds. If a user reaches that they are warned 3 times. If they reach a 3 limit warning they will be kicked from the server. This does not ignore admin’s as sometimes they go rouge. If a user is higher rank than the bot then it can not kick obviously.

Assuming you done all the steps here. You are ready to get started with your fresh new bot.

Usage

To use, is very simple, include the library then call it:

JavaScript
const { checkSpamRate } = require('./node_modules/bb-dbotbits/checkSpamRate');

checkSpamRate();

Needed permissions:

Admin/Mod Role would be best


Next up: Check Spam