Technical Manual
WRLD ENT Solutions provides high-performance Discord infrastructure. This manual focuses on integrating our primary Node packages for console management and client automation.
The Printing Engine
The wv3-print package is optimized for server-side generation of color-coded logs and administrative reports.
npm install wv3-print
How To Use
const { console } = require('wv3-print');
console.log(msg);
When a msg is passed through the console parent function, it will color code the message before sending it to the system output.
WRLD API
wv3-sdk Allows you to react with our server!
How To Use: Session Management
POST / - Create Session
GET / - View All Sessions
PATCH /:id/config - Update Metadata
DELETE /:id - Remove Session
How To Use: Hoster
POST /:id/host - Provision Host
{ "image": "flyio/hellofly", "auto_destroy": true }
GET /:id/run?ttl=3600000 - Stream & Monitor
⚠️ Kill Switch: The host is killed immediately if the SSE connection is closed.
Other Info
| Code | Meaning |
|---|---|
| 200/201 | Success / Created |
| 401 | Unauthorized |
| 429 | Rate Limit (10 req/hr) |
| 500 | Internal Server Error |
Builder Suite
wv3-builders allows you to dynamically construct clients for automated interactions with ease.
npm install wv3-builders
How To Use
const { self } = require('wv3-builders');
// Initialize automation
self.onliner(token, opts);
The opts argument can hold specific configurations for the client:
name: The activity name displayed.type: The activity type (Playing, Watching, etc).status: The bot's online status (Online, DND, Idle).