New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

antiscam

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antiscam

Anti-link scam, anti-server scam, anti-user scam, system blacklist, system report send new scam

latest
Source
npmnpm
Version
1.0.7
Version published
Maintainers
1
Created
Source

OldModz95

Discord server

Discord server




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

Crypt0's GitHub Stats

OldModz95-YTB

Keywords

antiscam

FAQs

Package last updated on 08 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts