mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Add voice channel moving, not quite working yet
This commit is contained in:
@@ -314,6 +314,14 @@ var Client = (function (_EventEmitter) {
|
||||
return this.internal.kickMember(user, server).then(dataCallback(callback), errorCallback(callback));
|
||||
};
|
||||
|
||||
// def moveMember
|
||||
|
||||
Client.prototype.moveMember = function moveMember(user, server, channel) {
|
||||
var callback = arguments.length <= 3 || arguments[3] === undefined ? function () /*err, {}*/{} : arguments[3];
|
||||
|
||||
return this.internal.moveMember(user, server, channel).then(dataCallback(callback), errorCallback(callback));
|
||||
};
|
||||
|
||||
// def createRole
|
||||
|
||||
Client.prototype.createRole = function createRole(server) {
|
||||
|
||||
Reference in New Issue
Block a user