Add voice channel moving, not quite working yet

This commit is contained in:
meew0
2016-01-24 23:22:24 +01:00
parent 76ab439033
commit 042d7d1dbe
4 changed files with 52 additions and 0 deletions

View File

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