Temporary member nickname / role colour solution.

This commit is contained in:
Paul
2021-07-25 17:52:57 +01:00
parent e61c647fda
commit a8c3482815
11 changed files with 65 additions and 23 deletions

View File

@@ -112,7 +112,7 @@ export function registerEvents(
client.users.addListener("mutation", logMutation);
client.servers.addListener("mutation", logMutation);
client.channels.addListener("mutation", logMutation);
client.servers.members.addListener("mutation", logMutation);
client.members.addListener("mutation", logMutation);
}
const online = () => {
@@ -146,7 +146,7 @@ export function registerEvents(
client.users.removeListener("mutation", logMutation);
client.servers.removeListener("mutation", logMutation);
client.channels.removeListener("mutation", logMutation);
client.servers.members.removeListener("mutation", logMutation);
client.members.removeListener("mutation", logMutation);
}
window.removeEventListener("online", online);