mirror of
https://github.com/arthur-pbty/bot-discord-coins.git
synced 2026-06-13 08:09:31 +02:00
Add logger 2
This commit is contained in:
@@ -4,6 +4,8 @@ const loadCommands = require("./fonctions/loadCommands");
|
||||
const loadEvents = require("./fonctions/loadEvents");
|
||||
const client = new Client({intents: new IntentsBitField(3276799)});
|
||||
const color = require('colors')
|
||||
var loggT = require('./loggerT.js');
|
||||
var loggE = require('./loggerE.js');
|
||||
|
||||
client.events = new Collection();
|
||||
client.commands = new Collection();
|
||||
@@ -11,5 +13,7 @@ client.config = require("./config.json");
|
||||
|
||||
console.log(`${loadEvents(client, '..\\events')} events loaded`.grey);
|
||||
console.log(`${loadCommands(client, '..\\commands')} commands loaded`.grey);
|
||||
loggT(`${loadEvents(client, '..\\events')} events loaded`)
|
||||
loggT(`${loadCommands(client, '..\\commands')} commands loaded`)
|
||||
|
||||
client.login(process.env.TOKEN);
|
||||
Reference in New Issue
Block a user