暫無描述

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

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