disable color roles

This commit is contained in:
Lamp 2019-08-21 22:26:23 +00:00
parent 1627aa95fd
commit 2d8fa9efd7
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,7 @@ colorRoles.pruneOrphanRoles = async function() { // delete all color roles that
// event listeners // event listeners
/*
dClient.on('local_presenceUpdate', async (oldPresence, newPresence) => { dClient.on('local_presenceUpdate', async (oldPresence, newPresence) => {
//if (oldPresence && (oldPresence.status == newPresence.status)) return; // don't constantly add/remove roles anymore //if (oldPresence && (oldPresence.status == newPresence.status)) return; // don't constantly add/remove roles anymore
// add role when person goes online // add role when person goes online
@ -119,6 +120,7 @@ dClient.on('local_guildMemberRemove', async member => { // update (delete) color
} }
}); });
} }
*/