GithubHelp home page GithubHelp logo

txplayz / invitemanagermongodb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sophan-devloper/invitemanagermongodb

0.0 0.0 0.0 52 KB

The first InviteManager / Logger / Tracker with mongoDB for Discord.

License: MIT License

JavaScript 100.00%

invitemanagermongodb's Introduction

InviteManager MongoDB


Introduction

⚠️ This project is not finished but it is perfectly functional. Basic features are usable but many more will be coming soon.

InviteManagerMongoDB is a Discord robot made in Javascript with Discord.js (v12.5) and Mongoose by FrancisLaTruelle. Feel free to add a star ⭐ to the repository to promote the project !

Features

Non-exhaustive list:

  • Automatic invitation counting
  • Addition (or removal) of role based on user invitations
  • False account detector (too recent)
  • Advanced leaderboard
  • Support for translations (illimited languages)
  • Completely customizable directly on Discord
  • Manages an unlimited number of Discord servers (multi-servers)

See the full commands list

More features are coming very soon, feel free to make suggestions / corrections.

Important: The robot parameters defined directly on Discord are unique for each server. This facilitates the management of multi-servers.

Installation

Requirements

This is mandatory for everything to work properly. You absolutely must have them in addition to the repository.

Configuration

The configuration of the internal robot is divided into 2 parts, it is your PublicConfig.json and PrivateConfig.json. As their name suggests, one contains visual information only and the other contains private information such as your Discord bot token or your mongoDB url. Changing PrivateConfig.json will be required to start the bot.

Example of PrivateConfig.json:

{
    "token" : "XXXXXXXX",   <- Your private Discord bot token
    "mongoDB" : "mongodb+srv://XXXXXXXX:XXXXXXXX@XXXXXXXX/invitemanager"   <- Your private MongoURL
}

Launch the bot

Don't forget to configure your PrivateConfig.json first. Remember to be in the main folder to write these commands in your command prompt.

  1. Run npm i to install all dependencies of package.json
  2. Run node main.js or pm2 start main.js
  3. Enjoy it !

Commands List

The default prefix is /, you can easily change it directly on Discord, it must be present before any command. Only the available commands are listed, the current features are in the Todo list.

Configuration

Command Description
setchannels Define arrival and departure lounges.
setfakemember Set the number of days for a user to be considered fake.
setprefix Define the prefix (default: /).
setranks Define the ranks of your server (roles obtainable through invitations).

Invitations

Command Description
edit-invites Edit the number of invitations for a user (bonus invitations).
invites See the number of invitations (since always, left, invalid, bonus and total).
leaderboard See the top 10 server members with the most total invitations.
ranks See the available ranks.

Utils

Command Description
ping See robot latency.

To do list

Configuration commands

  • setprefix
  • setchannels
  • setfakemember
  • setranks
  • setmessage

Invitations commands

  • invites
  • leaderboard
  • edit-invites
  • ranks

Utils commands

  • ping
  • help

Events

  • guildMemberAdd
  • guildMemberRemove
  • inviteCreate
  • inviteDelete
  • message
  • missingPermissions
  • ready

MongoDB

  • mongoDB basics functions
  • Guild schema
  • User schema

Credits

invitemanagermongodb's People

Contributors

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