mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
Added role shortcuts and to user also
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
"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]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user