Give bot a presence
This commit is contained in:
parent
d6907e1974
commit
91f5e9c8cd
1 changed files with 10 additions and 1 deletions
11
src/index.js
11
src/index.js
|
@ -1,5 +1,14 @@
|
||||||
const CompilerClient = require('./struct/CompilerClient');
|
const CompilerClient = require('./struct/CompilerClient');
|
||||||
const config = require('../config.json');
|
const config = require('../config.json');
|
||||||
const client = new CompilerClient(config);
|
const client = new CompilerClient(config);
|
||||||
client.once('ready', () => console.log('Comp_iler ready to go!')); // eslint-disable-line no-console
|
client.once('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();
|
client.start();
|
||||||
|
|
Loading…
Reference in a new issue