Code Monkey home page Code Monkey logo

knechtbot2's Introduction

~ KnechtBot V2 ~

Server management system of zekro's Dev Discord
Complete reworked version of KnechtBot in NodeJS.


   

Information

This is a very powerfull bot administrating my development discord and making the life of my staff team a lot of easier. :^)
Below, you will se some functions of this bot:


Functions

UBAAMS™ (Userbot Administration and Managing System)

With the command !invite <BotID>, users can add their own bots on the guild to show others their functions and ask for help.
Then, all admin users get the invite link as PM from the bot, they need to accept manually. After that, the bot will automatically give the user bot the user bot role. The owner (inviter) of the bot will get the bot owner role to be able to perform some more stuff working with their bots. Also, the bots will lautomatically be renamed with a prefix emoticon and the bots owners name at the end of the name.
Also all bots and their owners are registered in a database to look which bot belongs to which member.
Also, every bot needs a unique, registered prefix which can registered and changed by the bots owner with the !prefix command, also where you can look for all bots prefixes. This is very important to avoid multiple prefixes which can cause a huge chaos and also, it's easier to get the prefix of a bot if you want to work with it.
When a user bot gets kicked, the owner will lose the bots owner role automatically and the bot will be unregistered from the database.

Dev Language Roles

After joining the server, every user should set their languages they have experiences with with the !dev command. For a lot of development languages, there are roles on the server synced with an online file, which will be tested if the entered role is able to get with this command, else it would be a command everyone could get every role ^^
Then other users can mention the specific language roles if they need help in this language.

Role management

If a user gets promoted or demoted in roles, they get / lose automatically a prefix for their roles. Also, staff members, which are Supporters, Moderators and Admins, automatically get the role "Staff", that you don't need to mention every staff role if you want to mention staff. Also this role will automatically be removed if a member gets demoted.

User Welcome Messages

When a member joins the guild, he automatically get's a welcome message by the bot with some important information about the guild, roles and bots and which commands he can use and where he can use them.

User Profiles

With the command !user <Mention/ID/name> you can get a detailed information sheet about the targeted user. Also there will be displayed all userbots, if existent, of this user, his roles and his linked GitHub profile, if existent.

Report System

With the !report command, the staff team has the ability to report members for rule-violating behaviour. All reports will be saved in the database, with timestamp, report creator and reson, and will also stay saved if the user quits the server, so of he rejoins it, we always know he got reportet and for what. You can also list all reports of a user. Also number of reports will be displayed in the user profile.

XP system

Yes, the new Knecht is now also having a little experience system, but now way better than the old one.
I don't want to talk much about how you'll get XP and how much, because you can look for in the code, if you want. But the specific numbers are set in the config.json and will not be published.

Link flagging

All messages send on the guild will be scanned with a link filter, and if a message from a member with a permission level < 2 sends a message with a flagged link, it will be deleted, the member get's a warning via DM and the message content, channel name / ID, user ID and timestamp will be saved in the database and automatical punishments will follow at a special count of flags.

knechtbot2's People

Contributors

zekrotja avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.