Fixed smallish bugs

This commit is contained in:
hydrabolt
2015-11-06 21:36:58 +00:00
parent cb5452f072
commit 4118252ace
6 changed files with 60 additions and 55 deletions

View File

@@ -2,8 +2,19 @@
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var VoiceConnection = function VoiceConnection() {
var WebSocket = require("ws");
var dgram = require("dgram");
var VoiceConnection = function VoiceConnection(channel, client, session, token, server, endpoint) {
_classCallCheck(this, VoiceConnection);
this.voiceChannel = channel;
this.client = client;
this.session = session;
this.token = token;
this.server = server;
this.endpoint = endpoint;
console.log("I was instantiated!");
};
module.exports = VoiceConnection;