Тайлбар байхгүй

Owen Diffey 1ee03e5640 Update README.md 8 жил өмнө
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 1ee03e5640 Update README.md 8 жил өмнө
app.js 860e8776ba Success message (stops curl hanging) 8 жил өмнө
package.json 3fd0b234d1 Remove http dep 8 жил өмнө

README.md

UptimeBot

Uptime Robot Discord bot

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