-
Notifications
You must be signed in to change notification settings - Fork 8
How to Install the Bot
The Fortnite Community Development Team will no longer support downloads of Moonglow. Moonglow is only for reference purposes here, and we will not provide any documentation or instructions on how to get the bot to run, so please don't ask. If you are skilled in this work, and know how to run this bot yourself. Feel free to set it up, however we will not provide support.
The guide at the bottom of the page works for Moonglow (discord.js) version 3.5 and below. This guide does not work for Moonglow (eris/alpha) any versions.
Yes, you are more than welcome to add Moonglow yourself, the only thing we ask from you is you keep the info.js
command intact. If we find that you edited the info command to make it look like you made it, we have the right to ban you from this repository and our Discord server.
- Install Node.js here: https://nodejs.org/en/download/ and select your OS.
- Install git here: https://git-scm.com/downloads and click on "install"
- Open up a new "Git Bash" in the folder or area you want to install the bot in by right clicking that area and clicking on "git bash"
- In the command, run > git clone https://github.com/FCCouncil/Moonglow.git
- Some of our modules that we need require C++ Windows Build Tools. You will need to run this command before proceeding:
npm install --add-python-to-path --global windows-build-tools
. Sometimes this even fails when attempting to pull the requirements from the installation. If this doesn't work, you'll need to install Visual Studio Build Tools online directly, more information available by clicking here. - Now we need to install of the required libraries that the bot requires to run, you can do
npm install
to do this. - You're all done with installing!
Now, we need to configure your bot. When you download that file, there's something in there called config.js.example
. Copy that file into another one and call it config.js
. Then you can delete the example.
In the owners field, you want to add in your ID there. And fill out the rest of the Support/Admins fields to your liking, it's all there for you that explains it in that file.
Now, in there there is also a place to ask for your token, populate that field as well. When you do that, save it. You are now done!
Remember that git bash you opened earlier, in there simply run npm start
and your bot should be running. If that doesn't start it, use node index.js
, though the npm start should start it.
If you have any questions, please visit https://discord.gg/F4ztpQh
Thanks!
Alpha/Development | Moonglow | Fortnite Community Council