diff --git a/vrchat.js b/vrchat.js index 2a9e1c0..f020143 100644 --- a/vrchat.js +++ b/vrchat.js @@ -43,6 +43,7 @@ async function updateUserStatuses() { } let belowChannel = client.channels.resolve(config.vrchat_status_category).children.find(x => x.position == channel.position + 1); + console.debug(channel.name, channel.position, belowChannel.name, belowChannel.position, belowChannel.id); if (user.worldId && user.worldId != "offline") { let bcn = `┗ ${await getWorldNameForId(user.worldId)}`; if (belowChannel && belowChannel.name.startsWith('┗') && belowChannel.name != bcn) {