1.1.0 • Published 3 years ago

anti-raid v1.1.0

Weekly downloads
34
License
ISC
Repository
github
Last release
3 years ago

Anti-raid

new update info :

Now add No check Spam channel add or remove method Fully customisable your self

how to use api

Besic ex.

const Discord = require("discord.js");
const bot = new Discord.Client();
bot.NoCheckSpamChannel = ["< Channel Id>", "< channel id 2>"]
const Antiraid = require("anti-raid");
const setup = Antiraid.checkspam({
clientBot: bot 
});
bot.login("<your bot token>");

join support server

Fully customisable Ex.

const Discord = require("discord.js");
const bot = new Discord.Client();
bot.NoCheckSpamChannel = ["< Channel Id>", "< channel id 2>"]
const Antiraid = require("anti-raid");
const setup = Antiraid.checkspam({ 
clientBot: bot,
bot: true, // check bot spam true or false 
warn: 3, //warn
kick: 4, //4 warn = kick
ban: 6, //6 warn = ban
interval: 3200, //check spam await
maxwarn: 7, //max warn count
maxkick: 6, //max kick count
maxban: 8, //max ban count
permission: ["ADMINISTRATOR"], //role parmission
verbose: false,
ignoreduser: ["596521432507219980"], //not check spam this user id
});
bot.login("<your bot token>");

List channel No check spam channel

const Antiraid = require("anti-raid");
console.log(Antiraid.list());

add No check spam channel

const Antiraid = require("anti-raid");
Antiraid.addChannel("<Channel Id>");

Remove No check spam channel

const Antiraid = require("anti-raid");
Antiraid.removeChannel("<Channel Id>");

NOTE Add channel and Remove channel No Support Array

Version

const Antiraid = require("anti-raid");
console.log(Antiraid.version);
1.1.0

3 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago