Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

How to Install the Bot

Matthew R edited this page Oct 23, 2018 · 6 revisions

This wiki is rather outdated, a lot. You'll have to use version below 2.0 for this to work. We'll be updating this wiki when we have the time to.


Can I install Moonglow myself

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.

What things do I need first before I install

  1. Install Node.js here: https://nodejs.org/en/download/ and select your OS.
  2. Install git here: https://git-scm.com/downloads and click on "install"

Okay, I installed all of that, what do I do now?

  1. 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"
  2. In the command, run > git clone https://github.com/FCCouncil/Moonglow.git
  3. 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.
  4. Now we need to install of the required libraries that the bot requires to run, you can do npm install to do this.
  5. You're all done with installing!

Configuration

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!

Alright! I got all of that done, what do I do now?

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!

Fortnite Community

Council

Core Developer

Board of Directors

Staff

Public Relations

Moderator

Deputy Moderator

Event Coordinator

Clone this wiki locally