Ei kuvausta

Owen Diffey 4df05b2542 Update README.md 5 vuotta sitten
config 0697c04173 Ability to change images 8 vuotta sitten
.gitattributes b28c8470ee :confetti_ball: Added .gitattributes 8 vuotta sitten
.gitignore 5a62dd6a79 Initial Upload 8 vuotta sitten
LICENSE 223b335a49 Create LICENSE 8 vuotta sitten
README.md 4df05b2542 Update README.md 5 vuotta sitten
app.js 860e8776ba Success message (stops curl hanging) 8 vuotta sitten
package.json 3fd0b234d1 Remove http dep 8 vuotta sitten

README.md

UptimeBot

Uptime Robot Discord bot

THIS BOT NO LONGER WORKS

Webhooks are a good replacement for this bot and as such wont be updated to fix compatibility issues.

Installation

  1. Clone this repository - git clone https://github.com/odiffey/UptimeBot.git
  2. Enter repository directory - cd UptimeBot
  3. Install nodemon - npm install nodemon -g
  4. Install npm packages = npm install
  5. Copy the config template - cp config/template.json config/default.json
  6. Edit the config/default.json file
    • You can get the token for Discord here
    • You can get the loggingChannel and loggingServer ids by enabling developer mode on Discord and click CopyID on the server and channel you want to use.

Starting the bot

  1. Run nodemon in the repository root

Credit

Based off of code by KrisVos130 in MusareNode