Files
discord.js/src/Structures/VoiceChannel.js
2015-12-05 09:43:11 -08:00

15 lines
355 B
JavaScript

"use strict";
import ServerChannel from "./ServerChannel";
import {reg} from "../Util/ArgumentRegulariser";
export default class VoiceChannel extends ServerChannel{
constructor(data, client, server){
super(data, client, server);
}
join(callback = function () { }) {
return this.client.joinVoiceChannel.apply(this.client, [this, callback]);
}
}