diff --git a/app.js b/app.js index 47aaa01..527b535 100644 --- a/app.js +++ b/app.js @@ -284,7 +284,7 @@ client.on('message', mes => { }); client.on('presenceUpdate', (bef, aft) => { - if (aft.guild.id !== '555779161067749446') return; + if (aft.guild.id !== '555779161067749446' || process.env.IGNORE_PRESENCE) return; if (!bef) bef = {status: 'offline', clientStatus: {}}; if (bef.clientStatus.mobile === 'online' && bef.clientStatus.desktop !== 'online') bef.status = 'onlinephone';