Vulkan is a low-overhead, cross-platform 3D graphics and compute API.
Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.
| var DisnodeBot = require("../src/Disnode.js"); | |
| var testBot = new DisnodeBot("", "./TestBotConfig.json"); / | |
| var botCommands = {}; | |
| testBot.on("Bot_Ready", function(){ | |
| console.log('[TEST_BOT - BotReady] Bot Ready.'); | |
| testBot.loadConfig(OnLoad); | |
| }); | |
| var OnLoad = function(){ | |
| testBot.addManager({name:"CommandHandler", options:{prefix: "!"}}); | |
| testBot.addManager({name:"MusicManager", options:{voiceEvents: true, maxVolume:2.0}}); |
| var WebSocketClient = require('websocket').client; | |
| var client = new WebSocketClient(); | |
| client.on('connectFailed', function(error) { | |
| console.log('Connect Error: ' + error.toString()); | |
| }); | |
| client.on('connect', function(connection) { | |
| console.log('WebSocket Client Connected'); |