-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
index.js
11 lines (11 loc) · 786 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
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
//Bot coded by Tomato#6966