Redid structure
This commit is contained in:
22
src/index.js
Normal file
22
src/index.js
Normal file
@@ -0,0 +1,22 @@
|
||||
const Logger = require('./logger');
|
||||
const Config = require('./config');
|
||||
const Discord = require('discord.js');
|
||||
const client = new Discord.Client();
|
||||
|
||||
Logger.init();
|
||||
Logger.SetLevel(Logger.VERBOSE_LOGS);
|
||||
|
||||
let config = new Config('./config/config.json');
|
||||
config.load();
|
||||
|
||||
// client.on('ready', () => {
|
||||
// console.log(`Logged in as ${client.user.tag}!`);
|
||||
// });
|
||||
|
||||
// client.on('message', msg => {
|
||||
// if (msg.content === 'ping') {
|
||||
// msg.reply('Pong!');
|
||||
// }
|
||||
// });
|
||||
|
||||
// client.login('token');
|
||||
Reference in New Issue
Block a user