Add web dist info to readme

This commit is contained in:
Schuyler Cebulskie
2016-11-20 21:42:39 -05:00
parent 18dc95e1bd
commit 697fa15278
2 changed files with 10 additions and 0 deletions

View File

@@ -52,6 +52,11 @@ client.login('your token');
A bot template using discord.js can be generated using [generator-discordbot](https://www.npmjs.com/package/generator-discordbot).
## Web distributions
Web builds of discord.js that are fully capable of running in browsers are available [here](https://github.com/hydrabolt/discord.js/tree/webpack).
These are built by [Webpack 2](https://webpack.js.org/). The API is identical, but rather than using `require('discord.js')`,
the entire `Discord` object is available as a global (on the `window` object). Any voice-related functionality is unavailable in these builds.
## Links
* [Website](http://discord.js.org/)
* [Discord.js server](https://discord.gg/bRCvFy9)