mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
Started basic work on voice
This commit is contained in:
@@ -43,6 +43,7 @@ var InternalClient = (function () {
|
|||||||
this.channels = new Cache();
|
this.channels = new Cache();
|
||||||
this.servers = new Cache();
|
this.servers = new Cache();
|
||||||
this.private_channels = new Cache();
|
this.private_channels = new Cache();
|
||||||
|
this.voiceConnections = new Cache();
|
||||||
this.resolver = new Resolver(this);
|
this.resolver = new Resolver(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
9
lib/Voice/VoiceConnection.js
Normal file
9
lib/Voice/VoiceConnection.js
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
|
var VoiceConnection = function VoiceConnection() {
|
||||||
|
_classCallCheck(this, VoiceConnection);
|
||||||
|
};
|
||||||
|
|
||||||
|
module.exports = VoiceConnection;
|
||||||
@@ -39,6 +39,7 @@ class InternalClient {
|
|||||||
this.channels = new Cache();
|
this.channels = new Cache();
|
||||||
this.servers = new Cache();
|
this.servers = new Cache();
|
||||||
this.private_channels = new Cache();
|
this.private_channels = new Cache();
|
||||||
|
this.voiceConnections = new Cache();
|
||||||
this.resolver = new Resolver(this);
|
this.resolver = new Resolver(this);
|
||||||
}
|
}
|
||||||
// def createServer
|
// def createServer
|
||||||
|
|||||||
9
src/Voice/VoiceConnection.js
Normal file
9
src/Voice/VoiceConnection.js
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
class VoiceConnection{
|
||||||
|
constructor(){
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = VoiceConnection;
|
||||||
Reference in New Issue
Block a user