Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/decentraland-scenes/discordWebsocket


https://github.com/decentraland-scenes/discordWebsocket

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

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.