Giter VIP home page Giter VIP logo

discord-leveling-system-ranking-system's Introduction

Discord-Leveling-system-Ranking-system

PRs Welcome Maintenance Ask Me Anything ! Support Server

A easy to setup and easy to use ranking system, and clean interfase using canvacord, using enmap for the database.

Installation | How to use the Bot

1. Install node.js v12 or higher 1.1 Install python 3.9 or higher

2. Download this repo and unzip it | or git clone it

3. Install all of the packages with npm install | the packages are npm install node.js discord.js enmap canvacord

4. start the bot with node index.js

NOTE you can also use setup.bat and afterwards run.bat to install packages and run the bot

Usage - index.js

const Discord = require("discord.js");         //load the Discord.js Library
const client = new Discord.Client();           //make a new Client
const config = require("./config.json");       //load the config.json file
const Enmap = require("enmap")                 //load the enmap library
const canvacord = require("canvacord")         //load the canvacord library
client.points = new Enmap({ name: "points" }); //For ranking system
client.on("ready", ()=>console.log("READY"));  //log when the bot gets ready
const leveling = require("./ranking");         //load the leveling file
leveling(client);                              //call the leveling file with the client
client.login(config.TOKEN);                    //start the bot with the bot token
//Coded by Tomato#6966

How it looks like!

NOTE:

If you are having errors/problems with starting delete the package.json file and do, before you install the packages npm init




SUPPORT ME AND MILRATO DEVELOPMENT

You can always Support me by inviting one of my own Discord Bots

2021's best Music Bot | Lava Music Musicium Music Bot Milrato Multi Bot

Credits

If consider using this Bot, make sure to credit me!

discord-leveling-system-ranking-system's People

Contributors

tomato6966 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

discord-leveling-system-ranking-system's Issues

I encountered a problem

I'm using the npm quick.db database but the problem is that the levels can't go up and the points only go up a little then drop a lot. How do I fix this so that my code can run properly?

Leaderboard undefined bug

When a user talks, he is given some points in the database and added to the lederboard, but when he leaves the server, his points still stay in the leaderboard but name changes to undefined :/
image
anyway how to fix that / delete the user's points as soon as he leaves the server?

Question about the level calculation

Hey there!
So I saw your neat little level system and am wondering about how I could set different xp required per level. with your bot lvl 1 is 400xp, lvl 2 is 900xp etc... how could I change that? I would just want 100 for lvl 1, 200 for lvl 2 etc.

Leader Board Bug

Some people's names do not appear in the Leaderboards, and their ranking is incorrect
For example, it should be listed as 1-2-3, but it is listed as 1-3-5-8-9

image

A bug relating to the bot's storage

If I turn off the bot, the progress in xp cones down. Eg. if it was 100 it would cone down to 80. Please fix, otherwise this bot is very nice...

Thanks

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.