disable color roles
This commit is contained in:
parent
1627aa95fd
commit
2d8fa9efd7
|
@ -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
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue