log: add more logging
This commit is contained in:
parent
75cbd4d391
commit
8c5818c57d
2 changed files with 8 additions and 3 deletions
|
@ -1,14 +1,17 @@
|
|||
const CompilerClient = require('./struct/CompilerClient');
|
||||
const config = require('../config.json');
|
||||
const client = new CompilerClient(config);
|
||||
|
||||
client.once('ready', () => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('[Info] Comp_iler ready to go!');
|
||||
});
|
||||
|
||||
client.on('ready', () => {
|
||||
client.user.setPresence({
|
||||
activity: { name: '@Comp_iler help' },
|
||||
status: 'online'
|
||||
});
|
||||
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('Comp_iler ready to go!');
|
||||
});
|
||||
|
||||
client.start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue