Skip to content

Instantly share code, notes, and snippets.

View victoryforphil's full-sized avatar
:shipit:
I’m just here

Alex Carter victoryforphil

:shipit:
I’m just here
View GitHub Profile
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');
@victoryforphil
victoryforphil / T0.md
Created March 1, 2016 05:17 — forked from graphitemaster/T0.md
Vulkan Tutorial

Tutorial 0

What is Vulkan

Vulkan is a low-overhead, cross-platform 3D graphics and compute API.

Vulkan targets

Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.