Merge pull request #168 from hydrabolt/issue/144

Allow moving users to voice channels
This commit is contained in:
abalabahaha
2016-01-29 14:04:05 -08:00
5 changed files with 64 additions and 0 deletions

View File

@@ -336,6 +336,14 @@ var Client = (function (_EventEmitter) {
return this.internal.kickMember(user, server).then(dataCallback(callback), errorCallback(callback));
};
// def moveMember
Client.prototype.moveMember = function moveMember(user, channel) {
var callback = arguments.length <= 2 || arguments[2] === undefined ? function () /*err, {}*/{} : arguments[2];
return this.internal.moveMember(user, channel).then(dataCallback(callback), errorCallback(callback));
};
// def createRole
Client.prototype.createRole = function createRole(server) {