Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decentraland-scenes/discordWebsocket
https://github.com/decentraland-scenes/discordWebsocket
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/decentraland-scenes/discordWebsocket
- Owner: decentraland-scenes
- License: unlicense
- Created: 2020-08-05T16:39:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-06T15:11:33.000Z (over 4 years ago)
- Last Synced: 2024-08-05T15:04:59.911Z (5 months ago)
- Language: TypeScript
- Size: 10.7 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Repository - Discord Chat
README
# Discord chat to Decentraland
This scene shows you:
- How to build a WebSockets server to communicate with a scene
- How to connect a Decentraland scene to a WebSockets server
- How to link the server to the Discord API, where the Decentraland community has its discussions
- How to display text in a scene## Try it out
**Install the CLI**
Download and install the Decentraland CLI by running the following command:
```bash
npm i -g decentraland
```**Launch the server**
Navigate to the `/server` directory and run
```bash
npm run start
```The server will be launched locally and will start listening for requests.
**Previewing the scene**
On a separate command line window, avigate to the `/scene` directory, then run:
```bash
dcl start
```Any dependencies are installed and then the CLI opens the scene in a new browser tab.
Learn more about how to build your own scenes in our [documentation](https://docs.decentraland.org/) site.
If something doesn’t work, please [file an issue](https://github.com/decentraland-scenes/Awesome-Repository/issues/new).
## Copyright info
This scene is protected with a standard Apache 2 licence. See the terms and conditions in the [LICENSE](/LICENSE) file.