Skip to content

AntiRaid (protection) system in JavaScript made by @Zitiiix and modified by @whereisyasss

Notifications You must be signed in to change notification settings

whereisyasss/BasicProtect-for-Discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Discord AntiRaid Protection

A protection system against "RAID", a very widespread threat on Discord.



-💻 Technologies : JavaScript, Node.JS, Quick.DB
-👨‍💻 Author : Zitiix, Yasss
-🌍 Main Language : English
-🕓 Uploaded since : 5 May 2022
-🤖 Required packages : node.js, npm, discord.js, fs, quick.db, colors



⚠️ READ THIS : It works only for Discord Bots, this is a system that, when turned "on", Prevents a user from creating a new channel, deleting a channel, editing a channel, creating a role, deleting a role, editing a role or even sending a link such as discord.gg or https://arandomlink.com and which prevents webhook creation from every users that are not whitelisted of the bot by deleting all his roles so he can't do it again without your permission. ⚠️



How to use it ❓

It's really that easy, first you go to config.json

{
    "TOKEN": "",
    "DEFAULT_COLOR": "",
    "DEFAULT_PREFIX": "",
    "OWNER_ID": ""
}

If there is no problem, you'll see this, then you replace "TOKEN" by your bot token that you generated, "DEFAULT_COLOR" by the color you want (example: #ffffff => white) and "DEFAULT_PREFIX" the prefix you want, don't forget those details :

  • The token is required for your bot in order to make him log in and works
  • The color is required for embed
  • The prefix is required for your bot in order to make him work
  • You need to give the bot your id

Then if everything is ok, you can run packages.bat to install all the required packages if you haven't installed them yet and then you can start the bot by using start.bat




If there is any bugs/issues with the script, I invite you to contact me by Discord => Zitiix#2022

READ THIS : The only condition to use my code is to star the repository and add my credits in your code (at least in the footer of the embed)


Last edit : 07/05/2022
Made with ❤️ by Zitiix and Yasss