1.2.2 • Published 1 year ago

wdsdk v1.2.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Watch_Dog SDK

NOTE: This SDK should only be used if you have access to alimosallaei19/Watch_Dog. Otherwise, there is no point.

Watch_Dog is a vTerminal/error handling system that connects to a Discord bot. Basically, if you're running Cron Jobs, you can use this SDK to interact with Watch_Dog to output terminal actions for your records.

Installation

npm install @alimosallaei/wdsdk
// app.js
const wd = require('wdsdk')

Usage

.create(): Creates a new vTerminal instance. In Discord, this creates a new channel. Returns the id of the channel.


.send(id, msg): Send a message to the vTerminal channel. id and msg should both be strings. Returns true if properly executed.


.close(id): Closes the vTerminal instance. This will rename the terminal and move it out of the live queue. Returns the name of the channel.

1.2.0

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago