Skip to content

Latest commit

 

History

History
81 lines (53 loc) · 2.77 KB

README.md

File metadata and controls

81 lines (53 loc) · 2.77 KB

Zero

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).

System

The system automatically ACTIVATES when the server owner is disconnected or absent, and DEACTIVATES when the server owner reconnects.

If the zero system is ACTIVATED:

  1. Commands:

    The commands have a limit of use when the system is activated.

  2. Roles(permissions):

    All roles with ban and/or kick permissions will be disabled and forcing commands to be used for actions(kick and ban).

If the zero system is DISABLED:

  1. Commands:

    The commands do not have a usage limit when the system is deactivated.

  2. Roles(permissions):

    All roles with kick and/or ban permissions will be activated again and they can also use commands for actions(kick and ban).

Commands

  • 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)

Installation

  1. It requires a discord application, go to Discord app and create a bot application and get the token.

  2. Create an application on Glitch.com or locally on your PC, installing NodeJS

Is developing using the discord.js and sqlite3 module.

  1. 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;
  1. Open console or command terminal and type npm install.

  2. Write node index.js in the console to activate the bot.

  3. All controls and system actions are automatic according to the status of the server owner.

Objective

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:

case1

  • Case 2:

case2

ZERO SYSTEM a bot created for the event of Discord Hack-Week

DHW

Contact

Discord TAG: CraterMaik#1475

Twitter: CraterMaik

Web: https://portalmybot.com/