Make bot show as offline
This commit is contained in:
parent
7e8f7cff6d
commit
999f43fc29
3
main.js
3
main.js
|
@ -17,6 +17,9 @@ const COMMAND_CHANNEL_ID = process.env.COMMAND_CHANNEL_ID;
|
||||||
|
|
||||||
client.on('ready', () => {
|
client.on('ready', () => {
|
||||||
console.log(`${client.user.tag} is ready!`);
|
console.log(`${client.user.tag} is ready!`);
|
||||||
|
client.user.setPresence({
|
||||||
|
status: 'invisible'
|
||||||
|
})
|
||||||
setInterval(processMessageQueue, BATCH_INTERVAL);
|
setInterval(processMessageQueue, BATCH_INTERVAL);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue