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
If consider using this Bot, make sure to credit me!