Aucune description

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

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