Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including uptime-monitor with all npm packages installed. Try it out:

const UptimeMonitor = require('uptime-monitor') const bot = new UptimeMonitor.Bot({ commands: { on: true, off: true, list: true }, list: [ ['Its name', 'Its ID', 3] ], refresh: 5000, owner_id: 'Your ID', other_owners: ['Their IDs'], send_to: 'Their ID or guildID/channelID', status: { on: { name: 'text displayed while online', type: 'WATCHING' }, off: { name: 'text displayed by offline', type: 'WATCHING' } }, token: 'Your bot\'s token' })

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

uptime-monitor v4.1.0

A Discord bot that notifies you when one of the watched bots/users goes offline for a continued period of time (meant for bots, not so useful with users)

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free