Added role shortcuts and to user also

This commit is contained in:
Amish Shah
2015-12-05 16:57:58 +00:00
parent f95822dcb7
commit 5a971ba097
28 changed files with 132 additions and 25 deletions

View File

@@ -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]);
}
}