How to use the steam-user.EChatRoomEnterResponse function in steam-user

To help you get started, we’ve selected a few steam-user examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github antigravities / Steamcord / index.js View on Github external
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);
});