Coder Social home page Coder Social logo

grdayush / basicprotect-for-discord Goto Github PK

View Code? Open in Web Editor NEW

This project forked from whereisyasss/basicprotect-for-discord

2.0 0.0 0.0 37 KB

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

JavaScript 99.77% Batchfile 0.23%

basicprotect-for-discord's Introduction

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

basicprotect-for-discord's People

Stargazers

 avatar Bimal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.