A easy to setup and easy to use ranking system, and clean interfase using canvacord, using enmap for the database.
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
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
If you are having errors/problems with starting delete the package.json file and do, before you install the packages npm init
You can always Support me by inviting one of my own Discord Bots
BITTMAX Quality is their solution. Bittmax is our first and probably most important sponsor!
What they are offering:
Quality LXC & KVM (Root) Server Minecraft Hosting, as well as BungeeCord Network Hosting support Cheap and fast Domains WEBHOSTING DISCORD, TEAMSPEAK, Setups / Music Bots GAME SERVER, Rust, Gary's Mod, ..
Discord Server: https://discord.gg/GgjJZCyYKD
Website: https://bittmax.de/
GET 5% OFF EVERYTHING FOR EVER!
Code: x10
MC-Host24.de is selling the Best Digital Hosting Services ever! Like For games..
What they are offering:
Quality LXC & KVM (Root) Server WORLDS BEST Minecraft Hosting, Cheap and fast Domains WEBHOSTING DISCORD, TEAMSPEAK, Setups / Music Bots GAME SERVER, Rust, Gary's Mod, ..
Discord Server: https://discord.com/invite/4dGuGXK4A4
Website: mc-host24.de