CasperTech / node-metaverse

A node.js interface for Second Life.
MIT License
51 stars 34 forks source link

Add LoginResponse to Public exports. #41

Closed TommyTheTerrible closed 3 years ago

TommyTheTerrible commented 3 years ago

Would be nice to have LoginResponse class exported so it can be used to get the response from the bot if there is a login failure.

TommyTheTerrible commented 3 years ago

Sending a startGroupChatSession to a group UUID which the avatar is not a member will cause a toString error and crash.

Reorganized logic to check GroupChatSessionJoinEvent.success before checking sessionID.

Promise reject was also hanging and I could not figure out why so I just resolved instead.