mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +00:00
18 lines
No EOL
397 B
JavaScript
18 lines
No EOL
397 B
JavaScript
"use strict";
|
|
|
|
var WebSocket = require("ws");
|
|
var dgram = require("dgram");
|
|
|
|
class VoiceConnection{
|
|
constructor(channel, client, session, token, server, endpoint){
|
|
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; |