The Goal is to Protect
View Demo
·
Report Bug
·
Request Feature
Table of Contents
A lot of phishing and spam urls are getting circulated on discord these days. Those who are falling for the so called free gifts are ending up compromising their accounts.
So I thought of making the Guardian-bot for our Discord Community.
To get a local copy up and running follow these simple steps.
You should have Javascript and Typescript installed in your system. If not then don't worry the installation section has all the steps that you are going to need.
- Active internet connection through out installation (Must)
- Account in ipqualityscore.com (Must for Other Users)
- Javascript (Must for Other Users)
- Typescript (Must for Other Users)
- Fork the project.
- Clone the forked repository.
git clone https://github.com/<your_username>/Guardian-bot.git
- Move to the directory.
cd Guardian-bot
- Create a Bot from the Discord Developer Portal and copy the Bot token. Create a
.env
file in the root directory and paste the Token.TOKEN = "Your Token"
- Create an account at ipqualityscore.com and go to Malicious URL Scanner API Documentation
- Copy the API PRIVATE KEY and paste it in the
.env
file as:PRIV_KEY = "Your Private Key"
- Copy the API URL and paste it in the
.env
file as:API_URL="API URL FOR IPQUALITYSCORE.COM"
- Install Typescript and ts-node globally
npm i -g typescript ts-node
- Install all the packages
npm i
- Invite the Bot to your server and run
- To run in dev mode
npm run dev
- Fork the project.
- Clone the forked repository.
git clone https://github.com/<your_username>/Guardian-bot.git
- Move to the directory.
cd Guardian-bot/
- Create a Bot from the Discord Developer Portal and copy the Bot token. Create a
.env
file in the root directory and paste the Token.TOKEN = "Your Token"
- Create an account at ipqualityscore.com and go to Malicious URL Scanner API Documentation
- Copy the API PRIVATE KEY and paste it in the
.env
file as:PRIV_KEY = "Your Private Key"
- Copy the API URL and paste it in the
.env
file as:API_URL="API URL FOR IPQUALITYSCORE.COM"
- Install Typescript and ts-node globally
npm i -g typescript ts-node
- Install all the packages
npm i
- Invite the Bot to your server and run
- To run in dev mode
npm run dev
Go to the Discord Developer Portal to create your application and bot. You must give the following permissions:
- Admin Intent ✔️
See the open issues for a list of proposed features (and known issues). Feel free to raise new issues.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Add your Changes (
git add .
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push -u origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Saup21