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

@@ -292,6 +292,12 @@ export default class Client extends EventEmitter {
.then(dataCallback(callback), errorCallback(callback));
}
// def moveMember
moveMember(user, channel, callback = (/*err, {}*/) => { }) {
return this.internal.moveMember(user, channel)
.then(dataCallback(callback), errorCallback(callback));
}
// def createRole
createRole(server, data = null, callback = (/*err, role*/) => { }) {
if (typeof data === "function") {