Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
Beta Update
Browse files Browse the repository at this point in the history
  • Loading branch information
17teen committed Jun 19, 2021
1 parent c90b304 commit af6d98b
Show file tree
Hide file tree
Showing 79 changed files with 9,605 additions and 0 deletions.
Binary file added FAQs/Images/Repeated Offender Bug (PNG).png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
87 changes: 87 additions & 0 deletions FAQs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
![Bladee-FAQs-Wallpaper-#3 cropped](https://user-images.githubusercontent.com/71920969/113476517-dcb60b80-9473-11eb-88ff-b4597c41bbf0.jpg)

# Frequently Asked Questions

## General

### Whitelisting:
Whitelisting allows user(s) to do all Administration actions without being punished.

- How to Use:
* `prefix`wl `[User ID]`

> Assignable By: Trusted User, Server Owner and Founder (If using private mode)
> Advantages: Bypass Anti Nuke Punishments.
> Limitations: Whitelisted users cannot assign others to the whitelist, blacklist or Trust system.
### Blacklisting:
Blacklisting allows user(s) to be permanently unable to rejoin your server.

- How to Use:
* `prefix`bl `[User ID]`

> Assignable By: Trusted User, Server Owner and Founder (If using private mode).
> Advantages: Blacklisted user will never come back to bother you.
### Trust System:
The Trust System is a system which alllows user(s) to have some sort of administrator authority on your bot.

- How to Use:
* `prefix`trust `[User ID]`

> Assignable By: Server Owner and Founder (If using private mode).
> Advantages: Bypass Anti Nuke Punishments | Assign others to Whitelist and Blacklist.
> Limitations: Trusted users cannot assign others to the Trust System.
> Warning: Grant the Trust System to the ones you trust the most.
## Global Mode

### What is Global Blacklist?
The global blacklist acts like a border between the user and the server the bot is in. Aka Hard Banning or Perm Banning.

- How to Use:
* `prefix`gbl `[User ID]`

> Assignable By: Dev Team Members.
> Advantages: Removes annoying people from joining the servers your bot is in.
## Private Mode

### Is There A Youtube Tutorial For This Tool?
No. Coming soon.

----------------

### Why Does Database Not Differ For Every Server?
The reason for this is because the database is for private use. It will have one set of databases for the entire bot.

----------------

### Why My Bot Keeps Leaving My Server?
The guild which you invited the bot or trying to run a command in is not whitelisted.

Match these conditions to your desire:

if: `AllowGuilds` is set to `false`

- You can only add **one** guild ID to the `LockGuildID` object.

if: `AllowGuilds` is set to `true`

- You can add multiple guild ID's to the `PermittedGuilds` Array
- If your previous guild ID which is in `LockGuildID` is not in `PermittedGuilds` add it so it wont leave the server.
- Make sure to always put your guild ID in between quotation marks | `"GUILD_ID"`.

> Tip: Use `prefix`**eguilds** to Enable the usage of multiple guilds then use `prefix`**aguild** `[GUILD_ID]` to add your guild to the `PermittedGuilds` Array.
## Bugs:

### Repeated Offender:

**Description:** A previous server attacker or a random user sometimes was subject to unfair banning of the bot.

**Issue: Explained**

![Repeated Offender Bug](https://user-images.githubusercontent.com/71920969/122656137-e0daf680-d14f-11eb-94d9-63691a371598.png)

**How it was solved:** Keeping a record of the event timestamp and the log timestamp then comparing the two timestamps to see if they're close enough to come to a conclusion that an offense / unauthorised action is deemed valid to ban or to not.
62 changes: 62 additions & 0 deletions Global/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Blade: Global Mode

![Bladee-Global-Mode-Wallpaper-#3 cropped](https://user-images.githubusercontent.com/71920969/113477567-a92aaf80-947a-11eb-8dd1-74a01a005917.jpg)

# Set-up: Bot

1. Go to your [Discord Developers Applications](https://discord.com/developers/applications) and create a new bot | You can use an existing one.
2. Go to the "Bot" section and scroll down till you see "Privileged Gateway Intents".
3. Select both **Presence Intent** and **Server Members Intent**.

### Example

![intents](https://media.discordapp.net/attachments/782211920416735252/789810856460419092/unknown.png?width=1409&height=400)

# Set-up: Script

1. Run the `Launch` file and it will install npm then wait for all the packages to be installed.
1. Right click on the `settings.json` file.
2. Open the file either on Notepad or a code editor i.e VSC (Visual Studio Code).
3. Fill in ALL the gaps.
4. Save.

### Example

![image](https://user-images.githubusercontent.com/71920969/113477615-13dbeb00-947b-11eb-80ab-1b0895b86e78.png)

### `settings.json`: Objects Explained

* `prefix` |`string`| Your Bot Prefix.
* `token` |`string`| Your Bot Token.
* `founder` |`string`| Your Discord Tag.
* `founderId` |`string`| Your Discord User ID.
* `author` |`string`| My Discord Tag. **(Do not remove.)**
* `authorID` |`string`| My Discord User ID. **(Do not remove.)**
* `github` |`string`| My Github Profile. **(Do not remove.)**
* `sourceCode` |`string`| Anti Nuke Source Code. **(Do not remove.)**
* `inviteLink` |`string`| Your Bot Invite link. (Admin required.)
* `SupportServer` |`string`| A server of your choice.
* `DEV_TEAM` |`Array`| An array of Users you'd like to be the bot developer(s).

### New Features:
- Add & Remove Devs
- Load Backup Databases
- Individual Databases For Each Server
- Global Backlist
- Developer(s) Only Commands

### Run:
> Windows:
* Run the `run.bat` file
> macOS:
* Type this in the console: `node bladee.js`

### FAQs:
[Global Mode FAQs](https://github.com/17teen/Discord-Bladee-Server-Anti-Nuker/tree/main/FAQs#global-mode)

## Contact Me

[Discord](https://discord.com/users/709827684888215582)
[Discord Server](https://discord.gg/4nSYqZ8KAA)
[Telegram](https://t.me/clairvoyant7teen)
[Steam](https://steamcommunity.com/id/seven777teen/)

0 comments on commit af6d98b

Please sign in to comment.