1.2.2 • Published 3 years ago
wdsdk v1.2.2
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 theidof the channel.
.send(id, msg): Send a message to the vTerminal channel.idandmsgshould both be strings. Returnstrueif properly executed.
.close(id): Closes the vTerminal instance. This will rename the terminal and move it out of the live queue. Returns thenameof the channel.