Skip to content

Tomato6966/better-discord-ranking-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Better-Discord-Ranking-System

PRs Welcome Maintenance Ask Me Anything ! Support Server

An easy to setup and easy to use Welcome System Bot for Discord.js with the package canvas

Installation | How to use the Bot

1. Install node.js v12+ 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 discord.js canvacord enmap

3.1 Fill in everything in config.json

4. start the bot with node index.js

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 ranking = require("./ranking");          //load the ranking file
ranking(client);                               //call the ranking file with the client
client.login(config.TOKEN);                    //start the bot with the bot token

Usage - config.json

  • "TOKEN" ... is your Bot token
  • "PREFIX" ... is the PREFIX for the commands
  • "maximum_leaderboard" ... is the maximum amount of users listed on the leaderboard cmd
  • "embedcolor" ... is the color of your embeds
{
    "TOKEN": "NzQ4MDk22135412OTY5.X0Yc2g.masd2pFasdasd2Urh3X0S_2yuBo",
    "PREFIX": "?",

    "maximum_leaderboard": "50",
    "embedcolor": "#118fff"
}

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!

About

The best and most easiest advanced discord js ranking and leveling system with cards!

Resources

License

Stars

Watchers

Forks

Packages

No packages published