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

Installation instructions

Remco edited this page Dec 6, 2015 · 12 revisions

Please note

For the sake of decentralization, consider making your own instance of DougleyBot.

If you plan on just using DougleyBot as a chatbot, and don't plan on using the files, you can make DougleyBot join your server via DougleyBot's Test server (https://discord.gg/0cFoiR5QVh57Spqg). Use !join-server <instant-invite> to make DougleyBot join your server. Note that !pullanddeploy, !online and !idle don't work on this instance.

File installation

First, check if there are releases ready in the repo. If there are none, or you want a different version (Like experimental.), download or clone the desired branch and continue reading.

Setup

  1. Install Node. (The newest v4.x.x version is the best.)
  2. Pull this repo.
  3. Edit/Create config.json, use the example provided.

Deployment

Once installed, setup completed and ready to be deployed, run the following in a command prompt in the folder you've copied DougleyBot's files into.

npm install

node discord_bot.js --harmony

Simplified walkthrough

I'm assuming you're using Windows.

  1. Install Node.js here.
  2. Download the latest release of the bot here.
  3. Unzip the files to a convenient location.
  4. Edit the config.json.example file to correspond to the details for the bot.
  5. Rename config.json.example to config.json
  6. Open a command prompt. (Windows key + R, cmd.)
  7. Change the working directory to the path you've saved the files to. (cd C:\path\to\where\the\files\are)
  8. Run npm install.
  9. When that's finished, run node discord_bot.js --harmony.
  10. The bot should be online now!

Sidenote, if any modules aren't found while running the bot, they can be installed with npm install -g <module-name>

Clone this wiki locally