1.0.0 ā¢ Published 3 years ago
easy-uptime-discord v1.0.0
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 ms
Documantion:
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 |
1.0.0
3 years ago