Motto of zero: Make the owner of a server live better while not in the discord app.
Zero a discord bot to control the permissions and actions(kick and ban) of the staff of a discord server when the owner of the server is disconnected(offline) or absent(idle).
The system automatically ACTIVATES when the server owner is disconnected or absent, and DEACTIVATES when the server owner reconnects.
-
The commands have a limit of use when the system is activated.
-
All roles with ban and/or kick permissions will be disabled and forcing commands to be used for actions(kick and ban).
-
The commands do not have a usage limit when the system is deactivated.
-
All roles with kick and/or ban permissions will be activated again and they can also use commands for actions(kick and ban).
- ban [@user] [reason] :: Banned a member of the server.
- kick [@user] [reason] :: Kick a member of the server.
- unban [iduser] [reason] :: Unbanned a member of the server.
- zeroff :: Deactivates the zero system. (Requires administrator permissions)
-
It requires a discord application, go to Discord app and create a bot application and get the token.
-
Create an application on Glitch.com or locally on your PC, installing NodeJS
Is developing using the discord.js and sqlite3 module.
- Configure the
config.js
file entering the token of your bot.
let config = {
TOKEN_BOT: "HERE-TOKEN",
PREFIX_BOT: "z!",
UNLIMITED_BANS: 3,
UNLIMITED_KICKS: 10
}
module.exports = config;
-
Open console or command terminal and type
npm install
. -
Write
node index.js
in the console to activate the bot. -
All controls and system actions are automatic according to the status of the server owner.
Prevent mismanagement and abuse of banned and kicked permissions by members (Mods) of a server when the server owner is absent or disconnected and can not control all these following cases in bulk, damaging a server/community:
- Case 1:
- Case 2:
Discord TAG: CraterMaik#1475
Twitter: CraterMaik