debug
This commit is contained in:
parent
16f4b7eaf9
commit
20ecfb3e84
@ -37,6 +37,7 @@ async function updateUserStatuses() {
|
||||
|
||||
let belowChannel = client.channels.resolve(config.vrchat_status_category).children.find(x => x.position = channel.position + 1);
|
||||
if (user.worldId && user.worldId != "offline") {
|
||||
console.debug(user.worldId);
|
||||
let bcn = `┗ ${await getWorldNameForId(user.worldId)}`;
|
||||
if (belowChannel && belowChannel.name.startsWith('┗') && belowChannel.name != bcn) {
|
||||
await belowChannel.setName(bcn);
|
||||
@ -50,7 +51,7 @@ async function updateUserStatuses() {
|
||||
}
|
||||
|
||||
} catch (error) {
|
||||
console.error("vrcus", error.message);
|
||||
console.error("vrcus", error.stack);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user