1.0.7 • Published 2 years ago

antiscam v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Package Antiscam link - Bot Discord -||- By OldModz95 Proposed By ProtonDev

REJOIGNIEZ LE SERVEUR DISCORD - JOIN SERVER DISCORD!!!!!!!!!!!!!!!!!!!!!!!!

https://discord.gg/MS6TMgRfqB

Installation

Installe Package npm i antiscam Install NodeJS Download NodeJS Install Code editing Download Visual Studio Code

Setup Antiscam

Export module antiscam

const antiscam = require("antiscam");
const folder = require(antiscam.chemin)

Export file and start Antiscam

antiscam.protondev()
folder(client)

Create file antiscam.json

{
    "action": "no",
    "deletemessage": "yes",
    "logsdirectchannel": "no",
    "logs": "yes",
    "logschannel": "ID CHANNEL LOGS",
    "infosuser": "yes",
    "infoserver": "yes",
    "pingrole": "ID ROLE PING",
    "emoji": "yes",
    "banlink": "EMOJI"
}

explanation of json file

-| action: ban/kick/no -| deletemessage: yes/no -| logsdirectchannel: yes/no -| logs: yes/no -| logschannel: id channel -| infosuser: yes/no (just if logs is "yes") -| infoserver: yes/no (just if logs is "yes") -| pingrole: no/id role -| emoji: yes/no -| banlink: emoji id (Add reaction if link ban) - (if dltmsg = no) (exemple: <a:no:909539172811956244>)

Simple code exemple

const Discord = require("discord.js");
const client = new Discord.Client({
    intents: [
      Discord.Intents.FLAGS.GUILDS,
      Discord.Intents.FLAGS.GUILD_MESSAGES,
    ]
});

//? export module antiscam
const antiscam = require("antiscam");
const folder = require(antiscam.chemin)
//?============================================================

//? Confirm start bot.
client.on("ready", () => {
    console.log(`Bot ${client.user.tag} on !`)
    antiscam.protondev()//? export file antiscam
    folder(client)//? Start antiscam
});

//?============================================================

client.login("TOKEN BOT");

IMAGE

Delete message and send logs direct channel

If userinfo and serverinfo = yes

If userinfo = yes

If userinfo = no and serverinfo = yes

If delete message = no and emoji = yes

Problem with our API ?

come follow us on our discord in case of problem and report. Discord Dev Discord Support

📞 Contact me

Discord Twitter

🔧 Technologies & Tools

Version control system

Git

License

License

Operating systems

Windows

📈 GitHub Stats