mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +00:00
Started basic work on voice
This commit is contained in:
parent
ac3608feb4
commit
bd0228bc71
4 changed files with 20 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ var InternalClient = (function () {
|
|||
this.channels = new Cache();
|
||||
this.servers = new Cache();
|
||||
this.private_channels = new Cache();
|
||||
this.voiceConnections = new Cache();
|
||||
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.servers = new Cache();
|
||||
this.private_channels = new Cache();
|
||||
this.voiceConnections = new Cache();
|
||||
this.resolver = new Resolver(this);
|
||||
}
|
||||
// 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;
|
||||
Loading…
Reference in a new issue