Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
steam.on("chatEnter", (room, resp) => {
if( resp != Steam.EChatRoomEnterResponse.Success ) return webhook.send("Could not join that chat: " + resolveCode(Steam.EChatRoomEnterResponse, resp));
else sendMessageAs(steam.steamID, "\*\* joined the chat", room);
});