easy-uptime-discord
v1.0.0
Published
Readme
easy-uptime-discord
📡 easy-uptime-discord, you can use it to keep your repl.it or similiar projects online for 24/7!
Features:
- ⏱️ Easy to use
- 🚀 You can also create webserver for your project, to make it pingable
- ⚙️ Custom ping interval option and custom port for webserver option
Example code:
const pinger = require("easy-uptime-discord")
pinger.webserver(3000) // Create webserver on port 3000
pinger.ping("Your project url") //default interval is 1m, or you can specify own interval in msDocumantion:
| Methods | Type | Required | Default | Description | | ------------- |:-------------:|:-------------:|:-------------:| :--------------:| | ping("Your url", your interval in ms) | String, Object | true, false | None, 60000 | Start to ping the provided url every provided time | | webserver(your port) | Object | false | 3000 | Create simple websever for your project, to make it pingable |
