Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/burakbehlull/farbros-infinity
Discord protection bot. Discord Guardian.
https://github.com/burakbehlull/farbros-infinity
discord-bot discord-bot-v14 discord-guard-bot discord-js discordjs javascript
Last synced: about 1 month ago
JSON representation
Discord protection bot. Discord Guardian.
- Host: GitHub
- URL: https://github.com/burakbehlull/farbros-infinity
- Owner: burakbehlull
- License: apache-2.0
- Created: 2024-08-30T19:01:27.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-09-24T13:38:49.000Z (about 2 months ago)
- Last Synced: 2024-09-28T08:41:30.808Z (about 2 months ago)
- Topics: discord-bot, discord-bot-v14, discord-guard-bot, discord-js, discordjs, javascript
- Language: JavaScript
- Homepage:
- Size: 72.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Farbros Infinity
### Full-featured guard botFeatures:
Permission Manager functions and uses:
| Name | Status | Event |
| -------- | -------- | -------- |
| Role Guard | Stabil | ... |
| Channel Guard | Stabil | ... |
| Guild Guard | Stabil | ... |
| Vanity URL Guard | Stabil | ... |
| Ban Guard | Stabil | ... |
| Ban Limit Guard | Stabil | ... |
| Bot Guard | Stabil | ... |
| Kick Guard | Stabil | ... |
| Role Backup | Stabil | ... |
| Right Click Delegation Protection | Stabil | ... |
| Web Entry Guard | Stabil | ... |Create ` .env ` file and paste the following:
```.env
TOKEN = BOT TOKEN YOUR HERE
BOT_ID = BOT CLIENT ID
MONGO_URI = MONGODB DATABASE URI// URL GUARD SETTINGS
ACCOUNT_TOKEN =
VANITY_URL =
```Create ` config.json ` file and set permission settings:
```json
{
"isOwner": true,
"isRoles": true,
"isAuthority": false,"owners": [], // Person IDs to be whitelisted
"roles": [], // fixed role id's"LogChannel": "", // Log Channel id
"banLimit": 4, // Ban limit,// event on-off
"isChannelDelete": true,
"isChannelUpdate": true,
"isRoleDelete": true,
"isRoleUpdate": true,
"isAntiBot": true,
"isKickGuard": true,
"isBanGuard": true,
"isURLAndGuildGuard": true,
"isRoleAuthorityProtection": true,
"isWebEntry": false,
}
```**Permission Manager** functions and uses:
| Function | Values | Use |
| -------- | -------- | -------- |
| .isOwners() | userId | ... |
| .isRoles() | userId, firstOnce | ... |
| .isAuthority() | userId, authorities, firstOnce | .isAuthority(userId, new PermissionManager().flags.Administrator) |
| .isRolesAuthority() | roleId, authorities, firstOnce | .isAuthority(roleId, new PermissionManager().flags.Administrator) |
| .selectOwnerIds() | status, key, userId | ... |
| .selectRolesId() | status, key, userId, firstOnce | For example, you can open "whitelist": [user ids] in config.json and then use the whitelist as the key and use the incoming id as a fixed list. |Values accessible from class:
` interaction `, ` config (config.json)`, ` flags (PermissionsBitField) `**Punish Manager** functions and uses:
| Function | Values | Use | About |
| -------- | -------- | -------- |-------- |
| .deleteAuthorityRoles() | userId, permissons | .deleteAuthorityRoles(userId, [ PUM.flags.Administrator, PUM.flags.ManageRoles ]) | Deletes authority roles on the user |
| .deleteUserRoles() | userId | ... | Deletes all roles on the user |
| .jail() | userId, jailRoleId? | ... | Puts users in jail |