Closed Matthew2D closed 8 years ago
In the repo there is a folder called web dists, it has js files containing a browserified discord.js.
Can you give me your HTML file?
Thanks! Not exactly easy to get to.
The website itself is on Github Pages (*.github.io). The way Github Pages works, all the website source files are in the gh-pages branch. Now you know :P
Yeah I never knew that.
Wait the bot works uploading it to through the FTP right? I dont have to have a program running in the background in a VPN or anything?
I could just upload these files (https://github.com/hydrabolt/discord.js/tree/gh-pages) and it will work?
Should do, the bot will stay running as long as the user viewing the page keeps it open.
On Mon, 30 Nov 2015 11:35 pm Matthew Hawley notifications@github.com wrote:
Wait the bot works uploading it to through the FTP right? I dont have to have a program running in the background in a VPN or anything?
I could just upload these files ( https://github.com/hydrabolt/discord.js/tree/gh-pages) and it will work?
— Reply to this email directly or view it on GitHub https://github.com/hydrabolt/discord.js/issues/76#issuecomment-160798724 .
The dists
folder is no longer there. How can I do this now?
@maxh65000 all our webpack builds are available here: https://github.com/hydrabolt/discord.js/tree/webpack
Henlo, where would you end up having them now? I know it has been 8 years since this has been opened, but it would be very useful knowing
Discord no longer supports running Discord bots in a browser. You can ask further questions in the Discord server.
This issue will be locked as the question is resolved and the topic is now unsupported (and this is from aeons ago).
How do you get this in the browser like the website?