Make bot show as offline

This commit is contained in:
Wizzard 2024-02-07 17:39:09 -05:00
parent 7e8f7cff6d
commit 999f43fc29
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}); });